Search Issue Tracker
Duplicate
Under Consideration for 1.3.X, 7000.0.X
Votes
0
Found in [Package]
1.3.X - Entities
7000.0.0a1
Issue ID
ECSB-1413
Regression
No
Graphics assets are not stripped from the server build when a scene is saved as a reference
Reproduction steps:
1. Open the attached project "BuildNotStripped"
2. Open “Assets/Scene/Game.unity“ Scene
3. Open Build Settings (File > Build Settings)
4. Set Platform to Dedicated Server
5. Build the project
6. Observe build size (right-click on the build folder > properties)
7. Select the “Environment“ Subscene reference in the Hierarchy window
8. Set Scene Asset to “Environment“ in “Sub Scene (Script)“ in the Inspector window
9. Repeat steps 4-6
Expected result: Both builds are the same size
Actual result: Graphic assets are not stripped when the scene is saved as a reference
Reproducible with: 1.0.17, 1.1.0-exp.1 (2022.3.12f1)
Couldn’t test with: 1.0.8 (2022.3.12f1) - “error CS1061: 'EntitySceneReference' does not contain a definition for 'IsReferenceValid' and no accessible extension method 'IsReferenceValid' accepting a first argument of type 'EntitySceneReference' could be found“
Reproducible on: Windows 10
Not reproducible on: No other environment tested
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
- Reference to a deleted GameObject becomes "None" instead of "Missing" when the GameObject is restored with undo after entering and exiting Play Mode
- Size value in Particle System Curve's tab is highlighted with selection across all tab header
- Particle System Curve's Presets window has no visual indication of what preset is selected
- Blur shader doesn't work when the "Scene Color" Node is attached to the UI "Output" Node
- Particle System Curve presets can't be scrolled and some of them can't be selected if window is too narrow to fit them all
Resolution Note:
Resolving as Duplicate as the root cause has been identified to DOTs and how it is building Asset Bundles representing subscenes for Standalone Server Targets that aren't being stripped (bug).
Duplicate of another internal issue: ECSB-1413: Graphics assets are not stripped from the server build when a scene is saved as a reference