Search Issue Tracker
By Design
Votes
0
Found in
2021.3.40f1
2022.3.37f1
6000.0.10f1
Issue ID
UUM-75750
Regression
No
Preserved fields are stripped when the assembly is not referenced
How to reproduce:
1. Open the “IL2CPPReference.zip“ project
2. Open the “SampleScene“
3. Build and run the project using IL2CPP backend with “Development Build“ enabled
4. Observe the Player Console
Expected result: a “WOOHOO“ error is logged
Actual result: no error is logged
Reproducible in: 2021.3.40f1, 2022.3.37f1, 6000.0.10f1
Reproduced on: Windows 11 Pro (23H2), macOS 14.5 (by the reporter)
Not reproduced on: No other environment tested
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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note:
Not a bug. Use [assembly: AlwaysLinkAssembly]
https://docs.unity3d.com/ScriptReference/Scripting.AlwaysLinkAssemblyAttribute.html