Search Issue Tracker
Fixed in 2021.2.X
Fixed in 2018.4.X, 2019.4.X, 2020.3.X, 2021.1.X
Votes
2
Found in
2018.4
2019.4
2020.2
2020.2.2f1
2021.1
2021.2
Issue ID
1315058
Regression
No
Crash on il2cpp::vm::LivenessState::AddProcessObject when running Photon Bolt server and reloading scene in build
How to reproduce:
1. Open the user's attached project from "BoltTest.zip"
2. Build project by navigating to File > Build Settings > Build and run
3. In build press key "S", wait for at least a second, and press "R"
Reproducible with: 2018.4.32f1, 2019.4.21f1, 2020.2.7f1, 2021.1.0b9, 2021.2.0a7
First lines of stack trace:
0x00007FF9BEA4AE67 (GameAssembly) [C:\Program Files\Unity\2019.4.21f1_b76dac84db26\Data\il2cpp\libil2cpp\vm\Liveness.cpp:335] il2cpp::vm::LivenessState::AddProcessObject
0x00007FF9BEA6A974 (GameAssembly) [C:\Program Files\Unity\2019.4.21f1_b76dac84db26\Data\il2cpp\libil2cpp\vm\Liveness.cpp:147] il2cpp::vm::LivenessState::TraverseObjects
0x00007FF9BEA4F770 (GameAssembly) [C:\Program Files\Unity\2019.4.21f1_b76dac84db26\Data\il2cpp\libil2cpp\vm\Liveness.cpp:492] il2cpp::vm::Liveness::FromStatics
0x00007FF9C045E2FB (UnityPlayer) UnityMain
Notes:
1. Crash reproduces only in Build, does not reproduce in Editor
2. Crash reproduces only with IL2CPP, does not reproduce with Mono
3. "Player.log" attached in the edit section
Comments (4)
-
AntonPetrov
Jan 22, 2024 10:37
2020.3.48f1 the same crash on scene load
```
Thread Name: SIGSEGV
at il2cpp::vm::LivenessState::AddProcessObject(Il2CppObject*, il2cpp::vm::LivenessState*) (/Applications/Unity/Hub/Editor/2020.3.48f1/Unity.app/Contents/il2cpp/libil2cpp/vm/Liveness.cpp:336)
at il2cpp::vm::LivenessState::TraverseGCDescriptor(Il2CppObject*, il2cpp::vm::LivenessState*) (/Applications/Unity/Hub/Editor/2020.3.48f1/Unity.app/Contents/il2cpp/libil2cpp/vm/Liveness.cpp:211)
at il2cpp::vm::LivenessState::TraverseObjects() (/Applications/Unity/Hub/Editor/2020.3.48f1/Unity.app/Contents/il2cpp/libil2cpp/vm/Liveness.cpp:148)
at il2cpp::vm::LivenessState::TraverseArray(Il2CppArray*, il2cpp::vm::LivenessState*) (/Applications/Unity/Hub/Editor/2020.3.48f1/Unity.app/Contents/il2cpp/libil2cpp/vm/Liveness.cpp:315)
at il2cpp::vm::LivenessState::TraverseObjects() (/Applications/Unity/Hub/Editor/2020.3.48f1/Unity.app/Contents/il2cpp/libil2cpp/vm/Liveness.cpp:148)
at il2cpp::vm::LivenessState::TraverseArray(Il2CppArray*, il2cpp::vm::LivenessState*) (/Applications/Unity/Hub/Editor/2020.3.48f1/Unity.app/Contents/il2cpp/libil2cpp/vm/Liveness.cpp:315)
at il2cpp::vm::LivenessState::TraverseObjects() (/Applications/Unity/Hub/Editor/2020.3.48f1/Unity.app/Contents/il2cpp/libil2cpp/vm/Liveness.cpp:148)
at il2cpp::vm::LivenessState::TraverseArray(Il2CppArray*, il2cpp::vm::LivenessState*) (/Applications/Unity/Hub/Editor/2020.3.48f1/Unity.app/Contents/il2cpp/libil2cpp/vm/Liveness.cpp:315)
at il2cpp::vm::LivenessState::TraverseObjects() (/Applications/Unity/Hub/Editor/2020.3.48f1/Unity.app/Contents/il2cpp/libil2cpp/vm/Liveness.cpp:148)
at il2cpp::vm::LivenessState::TraverseArray(Il2CppArray*, il2cpp::vm::LivenessState*) (/Applications/Unity/Hub/Editor/2020.3.48f1/Unity.app/Contents/il2cpp/libil2cpp/vm/Liveness.cpp:315)
at il2cpp::vm::LivenessState::TraverseObjects() (/Applications/Unity/Hub/Editor/2020.3.48f1/Unity.app/Contents/il2cpp/libil2cpp/vm/Liveness.cpp:148)
at il2cpp::vm::Liveness::FromStatics(void*) (/Applications/Unity/Hub/Editor/2020.3.48f1/Unity.app/Contents/il2cpp/libil2cpp/vm/Liveness.cpp:491)
at GarbageCollectSharedAssets(bool, bool) (/lib/arm64/libunity.so)
at UnloadUnusedAssetsOperation::IntegrateMainThread() (/lib/arm64/libunity.so)
at PreloadManager::UpdatePreloadingSingleStep(PreloadManager::UpdatePreloadingFlags, int) (/lib/arm64/libunity.so)
at PreloadManager::UpdatePreloading() (/lib/arm64/libunity.so)
at ExecutePlayerLoop(NativePlayerLoopSystem*) (/lib/arm64/libunity.so)
at ExecutePlayerLoop(NativePlayerLoopSystem*) (/lib/arm64/libunity.so)
at PlayerLoop() (/lib/arm64/libunity.so)
at UnityPlayerLoop() (/lib/arm64/libunity.so)
at nativeRender(_JNIEnv*, _jobject*) (/lib/arm64/libunity.so)
at (/oat/arm64/base.odex)
``` -
ViliamVolosV
Jul 18, 2022 10:18
Same problem on 2020.3.34f1
-
keithkung
Mar 02, 2022 09:32
Same problem on 2021.2.6f1
-
smileycoder20
Sep 17, 2021 06:53
Have same problem on 2021.1.20f1
It problem didn't fix on this version?
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
- Multiple exceptions are thrown after exiting Play mode when Layout Group component is displayed in Debug Inspector and Padding section is expanded
- ScrollView elements are not restored to their original positions after removing a Layout Group with Undo action
- "Assembly with name already exists" errors are thrown when two packages with different technical names resolve to the same namespace
- A Select Scene Entry is added to Undo History when Deleting while a Scene is selected in the Hierarchy
- The Add Component Menu's back arrow accumulates phantom levels when the Menu is repeatedly opened into a Category and closed without selecting
Resolution Note (fix version 2021.2):
Fixed in 2021.2.0a12
Resolution Note (fix version 2021.1):
Fixed in 2021.1.4f1
Resolution Note (fix version 2020.3):
Fixed in 2020.3.4f1
Resolution Note (fix version 2019.4):
Fixed in 2019.4.24f1
Resolution Note (fix version 2018.4):
Fixed in 2018.4.35f1