Search Issue Tracker
Duplicate
Votes
0
Found in
2017.2.0a1
2017.3.0f3
Issue ID
1049325
Regression
Yes
Editor crashes after GameObject is being SetActive in the script
How to reproduce:
1. From the given link download and open project "SetActiveCrash.zip"
2. Open the scene "MGM_Main"
3. Make sure that "SceneLogic.cs" script component is set active in the "SceneLogic" GameObject's Inspector window
4. Enter the Play mode and by clicking left mouse button point the player to the white cube as shown in the attached video
5. Right-click on the cube and swap menu items a couple of times
Expected result: SetActive method activates GameObject
Actual result: Editor crashes
Reproducible with: 2017.2.3p1, 2017.4.6f1, 2018.1.6f1, 2018.2.0b9, 2018.3.0a2
Stacktrace: 0x00000001403BDC36 (Unity) GameObject::IsActive
Note: In 97th line of project's script "GuiLogic.cs" the Container GameObject is set to Active. Added Editor.log, error.log and crash.dmp files in the attached link
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
- Video is not rendered in Video Player when Material Override is set as the Render Mode and a SpriteRenderer is used
- Scene.isSubScene returns True when a Scene that is not a SubScene is loaded in a build
- The Search window does not show objects with inherited components when filtering by type
- Scrolling occurs when using a shortcut with "Wheel Up" or "Wheel Down" on a selection command in a scrollable Hierarchy window
- Shortcut fails to trigger when using KeyCode.WheelUp with ShortcutModifiers.Shift
This is a duplicate of issue #1046498