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
- Blank, Light-Themed "Create Node" window becomes visible on the next project open
- UI Elements/Layout inconsistencies in the Particle System component
- The Game view and Scene view fail to render when launching the Editor with a maximized Render Graph Viewer window
- "List is empty" is poorly visible in the "Create Node" window
- [Android] GameObject with a custom shader becomes invisible when deployed with the Vulkan Graphics API
Add comment