WebGL error: "Could not produce class with ID 210"
Hi, I am working on a WebGL project with asset bundles. Everything seems to work but I am getting the following error when I enable 'Strip Engine Code': "Could not produce class with ID 210"
I don't find any reference to TerrainInstance class (that it has ID 210). In fact, the class TerrainInstance doesn't exist in Unity.
I added to our link.xml file in Assets folder, but it doesn't work (probably because TerrainInstance class doesn't exist).
Answer by anuragaofl · Jul 20, 2018 at 10:51 PM
The class-ID docs are misprinted.
The actual type is UnityEngine.CoreModule.SortingGroup
, not TerrainInstance
.
Took me a lot of brute-force testing to get to the solution :) I hope this saves you some trouble.
Good luck!
Wow that is crazy and terrible.
Thank you so much for posting here.
@ifisch Ah, I realized I should have updated my findings sooner. The actual namespace-qualified name is UnityEngine.Rendering.SortingGroup
and not what I mentioned above. However, the assembly that it resides in is still UnityEngine.Core$$anonymous$$odule
.
Your answer
Follow this Question
Related Questions
WebGl Assetbundle error with big file? 0 Answers
Webgl, AssetBundle and Memory 0 Answers
error: Failed to decompress data for the AssetBundle, when starting a web gl game on a hosted server 1 Answer
using Asset Bundles to reduce my WebGl build size 0 Answers
Release memory in Addressable not working in webgl 0 Answers