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
- Memory leak occurs when focused on Player while using Direct3D12
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
Resolution Note:
Not a bug. Use [assembly: AlwaysLinkAssembly]
https://docs.unity3d.com/ScriptReference/Scripting.AlwaysLinkAssemblyAttribute.html