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
- The Scene View becomes gray and "NullReferenceException" errors are thrown when attaching the Unity Editor process to RenderDoc
- Memory usage rapidly rises when changing colors in the color wheel
- Physically Based Sky's Horizon and Zenith Tint Color Selection Bars don't have immediate access to color pickers
- EmptyAdditionalLightShadowmapTexture leaks from memory when URP quality level is changed using QualitySettings.SetQualityLevel
- Referenced ScriptableObject field does not get updated and cannot be set to "None" when there are no Objects of that type
Resolution Note:
The problem here is in the script code for the game. IL2CPP is behaving as expected.