Search Issue Tracker
Fixed
Fixed in 2.2.4, 3.0.3, 4.0.1
Votes
0
Found in [Package]
2.0.0
3.0.0
4.0.0
Issue ID
APB-3
Regression
No
AdaptivePerformance scalers are stripped down when Managed Stripping Level is set to High or Medium
Reproduction steps:
1. Open the user's attached project and select Android as the build target
2. Check that Project Settings -> Player -> Managed Stripping Level -> Low
3. Build the project
4. Open the \\Temp\\StagingArea\\Il2Cpp\\Managed\\Unity.AdaptivePerformance.dll
5. Verify how the scalers are included in the *.dll.
6. Set the Managed Stripping Level to High or Medium in Project Settings -> Player -> Managed Stripping Level -> High
7. Build the project again
8. Repeat the 4th step
9. Verify how the scalers are stripped out from the *.dll.
Expected result: AdaptivePerformance scalers remain in Unity.AdaptivePerformance.dll
Actual result: AdaptivePerformance scalers are stripped out from Unity.AdaptivePerformance.dll
Reproducible with: 2.1.0 (2019.4.38f1), 2.2.3 (2019.4.38f1, 2020.3.33f1), 3.0.2 (2021.3.1f1), 4.0.0 (2022.1.0f1, 2022.2.0a11)
Notes: Reproducible with Android build target.
To check Unity.AdaptivePerformance.dll contents use JetBrains DotPeek Assembly Browser or similar software.
With: 2021.3.1f1, 2022.1.0f1, 2022.2.0a11 Unity.AdaptivePerformance.dll location is: "\\Library\\Bee\\Android\\Prj\\IL2CPP\\Il2CppBackup\\Managed\\Unity.AdaptivePerformance.dll"
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 (fix version 4.0.1):
Marked the Scalar base type to always include any derived types so that any and all Scalars (even user-defined Scalars) will not be stripped out.
Resolution Note (fix version 3.0.3):
Fix bug when building with IL2CPP and scaler types getting stripped out.
Resolution Note (fix version 2.2.4):
- Fix bug when building with IL2CPP and scaler types getting stripped out.