Search Issue Tracker
Fixed in 2022.1.X
Fixed in 2021.2.X
Votes
4
Found in
2021.2.0a17
Issue ID
1332465
Regression
Yes
Internal package modules that are not used in a project do not get stripped from player builds.
Repro steps:
1) Create a simple project in URP, HDRP or built-in render pipeline, whichever render pipeline is desired.
2) Go to the package manager, filter BuiltIn packages, and notice that the NVIDIA package is disabled by default. This is done on purpose, we disable this package by default.
3) Build a player for 64-bit windows standalone with mono scripting backend.
4) When building is done, go to the folder of the project.
Notice that NVIDIAModule.dll/pdb, and other libraries such as NVUnityPlugin.dll and nvngx_dlss.dll are now present in the built player, despite the fact that the builtin package was not included.
The expectation is to not have libraries (nvngx_dlss.dll and NVUnityPlugin.dll) as well as the module dlls not present in the player built.
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
- Any small change in UI Builder Inspector refreshes Editor Inspector
- Inaccurate Box Collider boundaries on a rotated child Cube when the parent GameObject Scale is non-uniform
- [Android] "SHADOWS_SCREEN" set as shader Keyword when no "_ShadowMapTexture" is bound leads to freeze on a build on some Mali GPU devices
- The global scene list is overridden in a project built with command line when the Override Global Scene List setting is disabled in the build profile
- Global Scenes are not included in the Build when building multiple Build Profiles at the same time
Peter77
Jul 26, 2021 09:55
Related forum thread:
https://forum.unity.com/threads/dlss-binaries-now-ship-with-all-windows-builds-regardless-if-you-use-it.1145339/