Search Issue Tracker
Fixed in 5.5.0
Votes
1
Found in
5.3.2p3
Issue ID
773309
Regression
No
SpeedTreeWindAsset class will be stripped even if it is preserved
To reproduce:
1. Build and Run attached project
2. Notice following error in console:
"Could not produce class with ID 228.
This could be caused by a class being stripped from the build even though it is needed. Try disabling 'Strip Engine Code' in Player Settings."
This happens despite the link.xml in the project, specifies that SpeedTreeWindAsset should be preserved:
<linker>
<assembly fullname="UnityEngine">
[...]
<type fullname="UnityEngine.SpeedTreeWindAsset" preserve="all"/>
[...]
</assembly>
</linker>
Reproducible: 5.4.0b7, 5.3.3p1
Comments (3)
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
- Crash on ResizeScriptingList<ScriptingObjectPtr> when passing an undeclared variable to the results parameter for GameObject.FindGameObjectsWithTag
- [Android] "Screen.safeArea.y" always returns values outside of the Safe Area when the device is in Portrait orientation
- Frame spike due to many TreeRenderer.TreeUpdated calls when repositioning terrains in large Scenes
- Crash on GameObject::RemoveComponentFromGameObjectInternal when reparenting Text GameObjects
- [IL2CPP-GarbageCollector] Changing GCMode might permanently disable GC in a multithreaded context
RevvisLtd
May 04, 2020 13:50
Was this bug ever fixed? Getting the same error in Unity 2018.4.21f1.
MaT67
Feb 24, 2016 08:57
My bad, adding just the Wind Zone didn't fixed the issue but adding the complete asset in a dummy scene fixes it.
MaT67
Feb 24, 2016 08:36
As suggested by Marco Trivellato a temporary workaround consists of adding a scene with a Wind Zone into the build.