Search Issue Tracker
Fixed in 2019.1.X
Votes
0
Found in
2017.2.0f3
Issue ID
977745
Regression
No
Scene.buildIndex returned after building project ignores inactive Scenes in build list
Steps to reproduce:
1. Open attached project
2. Load Scene "B"
3. Make sure Scene "A" is unticked in File>Build Settings
4. Enter Play mode
5. Check console - "0 Assets/B.unity" is logged
6. Build project (for Windows)
7. Check console - "1 Assets/B.unity" is logged
Expected result: the index of Scene B is always logged as 0 if it is the first active scene in the list
Actual result: the index of Scene B is logged as 1 after building a project
Reproducible with: 5.6.0f3, 2017.2.0f3, 2018.1.0a6
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
- The Sprite Library Editor window has an incorrect order of Sprites when the Sprites are reordered and the order saved
- Tilemap Tiles do not get lit up unless the Light Range is greater than the distance between the position of the Tile before the transformation and the Light Source when the Tile is transformed with Tilemap.SetTransformMatrix method
- The Editor and "Reloading Domain" windows are frozen when entering Play Mode
- Crash when attempting to create a custom FMOD DSP unit
- [Linux] Floating windows do not keep their size after restarting the Editor
Resolution Note (fix version 2019.1):
Verified fixed on 2019.3.0a4