Search Issue Tracker
By Design
Votes
0
Found in
2018.4
2018.4.13f1
2020.2
Issue ID
1208483
Regression
No
FBX is included in Build when Particle System Renderer Mode is changed from Mesh to Billboard
Reproduction steps:
1. Open the attached project "AssetBeingIncluded.zip"
2. Create a new Scene and in the Hierarchy window a Particle System
3. Select the created Particle System and in the Inspector under the Renderer change the Renderer mode to Mesh
4. Select the "Gun" Mesh
5. Change the Renderer mode to Billboard
6. Build the Project
Expected result: the "45 ACP Smith and Wesson Gun.fbx" is not included in the Build
Actual result: the "45 ACP Smith and Wesson Gun.fbx" is included in the Build (See attached AssetIncludedIn Build.mp4)
Reproduces on: 2018.4.25f1, 2019.4.5f1, 2020.1.0b16, 2020.2.0a19
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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note:
By default all serialized properties will be included in a component regardless of the state at build. This is because we do not know how the system will be used in the player, users often switch modes on/off as part of their effect and switching from billboard to mesh is not uncommon. By stripping the referenced mesh we would create a different behaviour in the player from the editor which would be seen as a bug. The way to remove the asset from the build is to just remove the reference to the asset.