Search Issue Tracker
By Design
Votes
2
Found in
2017.1.0f3
Issue ID
995895
Regression
No
Scene.GetRootGameObjects in standalone build returns differently ordered list than in the Editor
To reproduce:
1. Open the project, attached by the user (GetRootGameObjectsBug.zip)
2. Open the "1" scene
3. Enter Play mode and observe the ordering of the list
4. Build the project for PC standalone
5. Open the build and observe the order of the list
Expected: the objects list returned by GetRootGameObjects method is ordered the same in the Editor and in the standalone build
Actual: in the Editor the returned list of the objects is ordered the same as the objects are in the Hierarchy, in the build the returned list of the objects is ordered not the same as they are in the Hierarchy
Reproduced in 5.6.5f1, 2017.1.0f3, 2017.2.1p3, 2017.3.1f1, 2018.1.0b6
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- WebGL build dependencies are not refreshed until the Editor is restarted
- “Audio Random Container” allows adding unlimited number in “Audio Clips” numeric field, causing Editor to freeze
- In Deferred rendering path, mixed lights don't render when enabling "Use Rendering Layers" in the Decal renderer feature
- [Windows] Special characters in file names are sorted to the end of the alphabet in the Project window
- Information box icons are not contained within the information box bounds in Render Pipeline Converter window
Resolution Note:
DOTS Scene format will address this