Search Issue Tracker
Fixed
Fixed in 2020.3.40f1, 2021.3.9f1, 2022.1.13f1
Unknown (hidden) 2022.2.X
Votes
0
Found in
2020.3.37f1
2021.3.6f1
2022.1.10f1
2022.2.0b1
Issue ID
UUM-9378
Regression
No
A .dll file is included in the build when the only reference to it is enclosed in #if UNITY_EDITOR
Steps to reproduce:
1. Open the attached “1258702_ExcludeDLL 2.zip“ project
2. Open Assets/SampleScene.unity
3. Open Assets/Scripts/UseLibrary.cs
4. Change “#if \!UNITY_EDITOR“ to “#if UNITY_EDITOR“
5. Go to File > Build Settings and press the “Build And Run“ button
6. Open the Editor.log file and search for “MyTestLibrary.dll“
Expected result: MyTestLibrary.dll file is not included in the build
Actual result: MyTestLibrary.dll is included in the build
Reproducible with: 2020.3.37f1, 2021.3.6f1, 2022.1.10f1, 2022.2.0b1
Not reproducible with: 2023.1.0a1, 2023.1.0a3
Reproducible on: Windows 10
Comments (2)
-
decorer209
Jul 19, 2022 15:47
Your style is unique in comparison to other people I've read stuff from. Thanks for posting when you've got the opportunity, Guess I'll just book mark this site.
<a hrefs="pubglitemobile.com/bgmi-errors-fix"> BGMI Error </a>
-
decorer209
Jul 19, 2022 15:42
Hi, I do think this is a great site. I stumbledupon it ;) I'm going to revisit once again since i have saved as a favorite it. Money and freedom is the best way to change, may you be rich and continue to help others.
pubglitemobile.com/bgmi-errors-fix
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
- [Android][BiRP] Depth processing is handled incorrectly on certain Android devices when using 2 camera's
- [APV] Cancelling Display Dialog Error is thrown after Adaptive Probe Volumes tab is open in Lighting Window
- [APV] NullReferenceException is thrown when baking Adaptive Probe Volume for a Terrain with Non-GI Contributing Tree Prototypes and multiple APV objects with different LayerMasks are present on the scene
- Hands are not recognized when using Hololens 2
- "OnTriggerExit2D" is called before "OnTriggerEnter2D" when object is destroyed immediately
Resolution Note (2022.2.X):
Version is not affected (fixed in https://ono.unity3d.com/unity/unity/pull-request/138055/_/scripting/fix-define-constraints-for-plugins).