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
- Fixing Message Loss in UMPE During Domain Reload
- The Editor freezes when ScheduleReadOnly of IJobParallelForTransform with dependency is used
- Text is truncated in the Inspector when the display scale is set to 150%
- CancellationTokenSource(<timeout>) has incorrect cancellation status when used in WebGL Player
- VFX property value names are cut off when properties with 'Arc' are viewed in the VFX Blackboard
Resolution Note:
The problem here is in the script code for the game. IL2CPP is behaving as expected.