Search Issue Tracker
By Design
Votes
1
Found in
2018.4
2019.4.10f1
2021.1
Issue ID
1289226
Regression
No
[WebGL] "Not implemented: Class::FromIl2CppType" error is thrown and a crash occurs when destroying a GameObject
How to reproduce:
1. Open the attached project
2. Make a WebGL build
3. Host the WebGL build
4. Open the built WebGL Player in a browser
5. In the Player, press the "button"
6. Aim (with A and D keys) and shoot the asteroids (Space key)
7. When the GameObject is destroyed, view the Developer Console (common shortcut F12)
Expected result: No errors are thrown and the Player doesn't crash
Actual result: "Not implemented: Class::FromIl2CppType" error is thrown and the Player crashes
Reproducible with: 2018.4.28f1, 2019.4.14f1, 2020.1.13f1, 2020.2.0b11, 2021.1.0a5
-
bogdanrybak_unity
Apr 04, 2024 18:10
What was the issue with the script code? Running into similar issue but scratching my head with what's wrong...
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
- Scene view audio toggle doesn't work after disabling and enabling audio source component with audio random container
- Pitch changes while paused messes up scheduling of the audio random container
- Crash on detail::ComputeShaderSnippetKey when entering the Play mode
- Unable to interact with Material Inspector window when creating a new Material and renaming it
- Shadow artifact is cast onto GameObjects in the Scene view when the Scene view lighting is disabled
Resolution Note:
The problem here is in the script code for the game. IL2CPP is behaving as expected.