Search Issue Tracker




Found in


Issue ID




Editor crashes and Assertion failed on expression: '!gameObject.IsActive()' error is thrown when playing a specific scene

Scene Management


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)

  1. isaachurleyyyy

    Jun 22, 2018 05:55

    Same issue, also fixed by enabling/disabling everything in scene, Thanks!

  2. ImperativeGames

    Mar 08, 2018 16:02

    Yes, happens all the time to my project too, glad to know that deactivating-activating hack exists.

  3. 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

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.