Sprite Kit: after changing a node's parent, it reports its parent as nil on iOS 9

Originator:batalia.nerdys
Number:rdar://22806689 Date Originated:
Status: Resolved:
Product:iOS Product Version:9
Classification:Bug Reproducible:Always
 
Summary:
A node's parent is shuffled inside a block. Starting with the next event loop, it will always report its parent as nil.

Steps to Reproduce:
1. Inside a block, remove a node from its parent and add it to another parent.
2. Enumerate through the children of the new parent in the next event loop.
3. The child will report its parent as nil, although it remains on the screen.

Expected Results:
The actual parent (in the example project, tempNode) should be reported.

Actual Results:
The parent property is nullified. 

Version:
iOS 9 (13A344)

Notes:
This is probably related to bug 22803714. The issue does not occur on iOS 8.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!