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
- ScrollView clips content when under an ancestor that has a filter set
- "Retrieving array element that was out of bounds" error thrown when attempting to remove a column from a Multi-Column List View
- Multi-Column List View horizontal scroll resets to left most position when scrolling vertically
- Floating License is lost for concurrent jobs
- Warning "Failed to insert item" is logged when Assigning Project to Organization's Project in the Project Settings
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.