Search Issue Tracker
Fixed in 1.0.0-preview1
Votes
0
Found in [Package]
0.9.6
Issue ID
1178792
Regression
No
"Destroy can only be called from the main thread" is thrown after building a IL2CPP standalone and Input System pacakge
How to reproduce:
1. Make sure that IL2CPP is installed
2. Open attached project "BugReproduction.zip"
3. In Editor, click on Window -> General -> TestRunner -> PlayMode -> "Run all in player (Standalone Windows64)"
4. Observe the built standalone
Expected result: no errors are thrown
Actual result: "UnityException: Destroy can only be called from the main thread." is thrown
Reproducible with: 2019.2.7f2(0.9.6), 2019.3.0b4(0.9.6), 2020.1.0a4(0.9.6)
Could not test with: 2017.4 due to IL2CPP errors, 2018.4 due to multiple package errors
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Baked GI loaded by LoadScene call with Additive mode is not cleaned up when unloading the Scene
- "Reflection Probe" borders disappear when interacting with the UI in the Inspector and one of the Reflection Probe editing tools is selected during the Baking process
- RenderGraph ContextData buffer leaks in IL2CPP when using Native Leak Detection
- Caret in "Add Default Preset" text field is vertically misaligned in Preset Manager
- Unused separation line is present at the bottom of the create GameObject sub menu when right clicking Scene in the Hierarchy
Add comment