Search Issue Tracker
Fixed in 2020.1.X
Fixed in 2019.2.X, 2019.3.X
Votes
1
Found in
2018.4.0f1
2019.2.0a1
2019.3.0a1
2019.3.0b1
2020.1.0a2
Issue ID
1180541
Regression
No
Fatal error in Unity CIL Linker for type within attribute when building with Medium or High Stripping Level
Steps to reproduce:
1. Download attached project
2. Make sure that Manage Stripping level is set to Medium or High
3. Build for Standalone (IL2CPP or Mono)
4. Observe error in the console result in a failed build
Results: Build fails
Reproduced with: 2020.1.0a2, 2019.3.0b2, 2019.2.3f1, 2019.4.9f1
Note:
In TestScript.cs, EnumPolicy is included within the [JsonConverter] attribute.
Without EnumPolicy, the build will succeed (JsonConverter seems to be marked to be preserved), but with it, it will fail.
[PreserveAttribute] on EnumPolicy will fix the issue, however, the linker should be able to preserve types within preserved attributes.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Unity crashes during the scene template selection in the "Inspector" tab
- [Android] [iOS] [UnityWebRequest] Requests with "UnityWebRequest" are open for SSL Proxying
- SetWindowsHookEx does not prevent Windows key input when Editor or Player Window is focused and Active Input Handling is set to “Input System Package (New)” or “Both”
- Crash on GetEffectiveBc7TextureCompressor() when loading and unloading all Assets in the Project
- Terrain Masks do not ignore the mipmap limit
Add comment