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
- Spots of bad lighting appear on assets when the lighting is generated in a Scene
- Static Editor Flags dropdown list is cut off when Inspector Window is docked to the very right and UI Scaling is set to a higher value
- visionOS Players are minimized when Guided Access is turned on
- Licensing Client fails to launch when opening Unity Hub
- Sprite Atlas Inspector preview disappears when entering Play mode unless SpriteAtlasMode is set to "Sprite Atlas V2 - Enabled"
Add comment