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
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
This is a duplicate of issue #780886