Search Issue Tracker
Duplicate
Votes
0
Found in
4.5.4f1
Issue ID
640196
Regression
Yes
Scripts are always recompiled when building SceneAssetBundles
To Reproduce:
1. Open the project attached to the post.
2. Goto 'Bundle Builder' in menubar.
3. In the opened editor window select empty_scene in the object picker, set bundleCount to something over 2 & click Build Bundles.
4. Unty builds several StreamedSceneAssetBundles, each of them containing an empty scene, with no scripts in it, despite that all the scripts in the project are recompiled every time BuildPipeline.BuildStreamedSceneAssetBundle is called.
5. If possible Unity would not force recompile scripts if they were not changed when building SceneAssetBundles.
Scripts are not recompiled when building AssetBundles, even if those asset bundles contain scripts or objects with scripts. But BuildPipeline.BuildPlayer also recompiles all the scripts.
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
This is a duplicate of issue #780886