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
- Keywords on Material Variants aren't automatically saved when changed on original Material through Shader Graph
- Light Probes get baked when calling LightProbes.Tetrahedralize
- Shadows flicker and cause visual artifacts when modifying a GameObject's bounds using Swizzle (Y Mask) and Sine Time nodes
- [WebGL] Frame rate drops by 5-20 fps when moving cursor or touch input in the Player
- Light bleeds when using box shaped spotlight with specific Emission Range values
This is a duplicate of issue #780886