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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note:
The problem here is in the script code for the game. IL2CPP is behaving as expected.