Search Issue Tracker
Fixed
Fixed in 2023.1.0b18
Votes
0
Found in
2023.1.0b17
Issue ID
UUM-78449
Regression
No
Crash on GameObject::IsActive when using GameObject.SetActive for an object which has been serialized as "Type mismatch"
Reproduction steps:
1. Open the attached “ReproProj” project
2. Open the “Assets/Scenes/SampleScene.unity“ Scene
3. Enter the Play Mode
Expected result: The Play Mode is entered and “MissingReferenceException” error is shown
Actual result: The Editor crashes
Reproducible with: 2023.1.0b17
Not reproducible with: 2021.3.43f1, 2022.3.43f1, 6000.0.16f1
Fixed in: 2023.1.0b18
Reproducible on: Windows 10
Not reproducible on: No other environment tested
Workaround: Reasign the GameObject which has been incorrectly serialized
First few lines of the stack trace:
{noformat}
0x00007FF8501696EC (Unity) GameObject::IsActive
0x00007FF8501649B5 (Unity) GameObject::ActivateAwakeRecursivelyInternal
0x00007FF850164883 (Unity) GameObject::ActivateAwakeRecursively
0x00007FF85016C5EF (Unity) GameObject::SetSelfActive
0x00007FF84F950E07 (Unity) GameObject_CUSTOM_SetActive_Injected
0x0000017C9DF851E5 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.GameObject:SetActive_Injected (intptr,bool){noformat}
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Palette Settings link to the documentation isn’t working
- "Type Options" and "Node Library" dropdowns do not open when clicked on the title
- Public char variables uneditable in Inspector when project setting "Use IMGUI Default Inspector" is enabled
- IAP Listener component’s list titles go out of bounds when resizing the Inspector window horizontally
- Selected Camera sublayer blends with highlight color in Graphics Compositor window when Editor theme is set to Light
Add comment