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
- Spot Light with 'Box' Shape stops working when it collides with Mesh
- Accepting Asset Store EULA endless loop in Package Manager window
- “InvalidOperationException: Sequence contains no matching element“ error when reenabling a custom Debug Draw Mode
- Prefab that contains a layout group is marked as changed by the Editor when opened
- Emission animation does not appear when the "Emission Map" parameter is set to black in a Lit material
Resolution Note:
Not a bug. Use [assembly: AlwaysLinkAssembly]
https://docs.unity3d.com/ScriptReference/Scripting.AlwaysLinkAssemblyAttribute.html