Search Issue Tracker

Active

Under Consideration for 6000.0.X, 6000.1.X

Votes

0

Found in

6000.0.29f1

6000.1.0a6

7000.0.0a1

Issue ID

UUM-90292

Regression

No

DebugUICanvas.prefab is being included into release builds.

--

-

[https://unity.slack.com/archives/C20E70CAC/p1733170786169399]

Because it is in a Resources folder, it gets included in every single build.
But we're doing release builds at the moment, not development ones, so I think it should be excluded from these builds.
Also this Prefab is using uGUI, and our project is exclusively using UIToolkit, which means that all the uGUI code and dependencies get pulled into our builds because of that reference.
The final output is not much changes, but removing the Resources folder from the Core RP package get the output resources.assets file from 361kb to 259kb, which is 1/3 of the resources included in the server build.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.