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
Comments (1)
-
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
- Nested Canvases with the same Order in Layer ignore Z position for render order when sharing parent Canvas
- ShaderGraph Material subasset loses texture reference when reimporting all assets while using a scripted importer
- Values changed on a prefab are not retained when entering Play Mode
- Shadow Caster 2D shadows partially disappear in specific spots when used with Composite Collider 2D in the Game view
- Hierarchy and Library parts in UI Builder are inaccessible when UI Builder window is resized and these elements no longer fit in the window
Resolution Note:
The problem here is in the script code for the game. IL2CPP is behaving as expected.