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
- Shadows are not visible in Player when using DX12 with Forward+ or Deferred+ rendering in URP
- Rendering Debugger Playmode debug UI scrolling is jittery when using click and drag to scroll
- Frame Debugger Target Selection Search Results window becomes too tiny to even see the default “Editor” selection when there are no search results
- Async method in Play Mode being aborted when calling `new System.Windows.Forms.Form`
- Animator window Eye button on click visual does not cover the whole area of the button when clicked
Resolution Note:
Not a bug. Use [assembly: AlwaysLinkAssembly]
https://docs.unity3d.com/ScriptReference/Scripting.AlwaysLinkAssemblyAttribute.html