Search Issue Tracker
Duplicate
Votes
6
Found in
5.5.1f1
Issue ID
924006
Regression
No
Editor crashes and Assertion failed on expression: '!gameObject.IsActive()' error is thrown when playing a specific scene
To reproduce:
1. Open repro project(link in edit)
2. Open 'Test' scene
3. Delete all GameObjects except 'MachineGun'
4. Play scene
Expected: scene will be played without any errors
Actual: After deleting other GameObjects error is thrown: Assertion failed on expression: '!gameObject.IsActive()'. When trying to play scene, editor crashes
Reproduced on: 5.5.1f1, 5.5.3p4, 5.6.2p1, 2017.1.0f1, 2017.2.0b1
Note: after deleting 'ProjectSettings' and 'Library' folders the issue persists, but re-enabling all GameObjects in 'Test' scene fixes the issue.
Comments (3)
-
isaachurleyyyy
Jun 22, 2018 05:55
Same issue, also fixed by enabling/disabling everything in scene, Thanks!
-
ImperativeGames
Mar 08, 2018 16:02
Yes, happens all the time to my project too, glad to know that deactivating-activating hack exists.
-
PNUMIA-Rob
Oct 07, 2017 20:59
We have also experienced it's ugly occurrence when applying changes to a prefab, importing new assets, saving scene changes, and re-indexing existing assets.
This happens frequently, on an average 3 to 5 times in an 8 hour period.
Please address this issue, it's more than mildly annoying, thanks in advance.
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
- Performance Markers Search window shows an empty entry in the list
- Enabling Deep Profiling in Performance Markers Search window breaks Inspector panel buttons when navigating through the marker items
- An "InvalidOperationException" error is thrown when TryRemoveItem is used with rebuildTree set to false
- Build fails with IL2CPP error when building on Android platform in a specific project
- Resize to Fit option for Import Activity window's Columns does nothing
This is a duplicate of issue #1051704