Search Issue Tracker
Fixed in 5.6.0
Votes
0
Found in
5.4.2f2
Issue ID
853956
Regression
No
Finalizer causes Unity to crash when entering Play Mode
Reproduction steps:
1. Open project. (Attached by user)
2. Open new scene.
3. Open TestScript.cs.(Assets -> Scripts -> TestScript)
4. Replace code in line 6 with:
public LocalCardDBMS dbms = new LocalCardDBMS();
5. Uncomment 16 and 17 lines.
6. Create new empty GameObject.
7. Attach TestScript to that new GameObject.
8. Press Play.
Expected result: We will enter Play Mode and get some logs in console.
Actual result: Unity crashes.
Issue is caused by LocalCardDBMS.cs (Assets -> Scripts -> Database -> LocalCardDBMS):
~LocalCardDBMS()
{
Disconnect();
}
Reproduced on 5.3.0f4, 5.4.0f3, 5.4.3f1, 5.5.0f1, 5.6.0a3
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [VFX] Missing Expand Toggle with Output Slot
- [OpenGLES][XR] Zooming in on the camera's URP opaque texture causes "double vision" on Quest in OpenGLES3
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
Add comment