Search Issue Tracker

Duplicate

Votes

0

Found in

2020.3.42f1

2021.3.15f1

2022.2.0b15

2023.1.0a21

Issue ID

UUM-20261

Regression

No

Crash on Scripting::ScriptingWrapperFor(Object*) when opening project

--

-

Reproduction steps:
1. Open the attached project ("IN-24039_Reproduction")

Expected result: The Editor opens the project up
Actual result: The Editor crashes while opening

Reproducible with: 2020.3.42f1, 2021.3.15f1, 2022.2.0b15, 2023.1.0a21

Reproducible on: macOS 12.5.1 (Intel)

Note:
The crash is Library related as removing it resolves the issue

Stacktrace:
#0 0x00000109ec2206 in Scripting::ScriptingWrapperFor(Object*)
#1 0x00000109dccd9c in SceneBindings::GetRootGameObjectsInternal(int, ScriptingObjectPtr)
#2 0x0000010931d2dd in Scene_CUSTOM_GetRootGameObjectsInternal(int, ScriptingBackendNativeObjectPtrOpaque*)
#3 0x0000016f253ef6 in (wrapper managed-to-native) UnityEngine.SceneManagement.Scene:GetRootGameObjectsInternal (int,object) [{0x7f7e58f8ca50} + 0x86] (0x16f253e70 0x16f253f9d) [0x15b182a80 - Unity Child Domain]

  1. Resolution Note:

    UI.prefab Asset is broken. Probably causes by a bad vcs merge or manual editing file.
    Duplicate of https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-14898

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.