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
- [URP] Crash on GameObject::QueryComponentByType when baking a Reflection Probe in an unsaved/untitled Scene
- No Icons are used for the Entry and Exit States in the Inspector when selected in an Animator Controller
- Crash on PlayerMain(int, char const**) when exiting Standalone Player with a Particle System in the Scene
- No Icon is used for the Runtime Animator Controller Type in a Search Window when assigning an Animator Controller in the Animator Component
- Unity Version Control server textfield’s text overlaps with the dropdown triangle button in the Explore repositories window when an organization with a long name is selected
Add comment