Search Issue Tracker
Not Reproducible
Votes
1
Found in
2020.3
2021.1
2021.2
2021.2.0b9
2022.1
Issue ID
1362999
Regression
No
BuildPipeline.BuildAssetBundle creates different sized files on different Unity streams
How to reproduce:
1. Download and open the “AssetBundle bug.rar” project from the Google Drive
2. Open "..\Assets\TerrainEngineNextAddons\Scenes\AdvancedScene.unity” Scene
3. Open "TerrainManager" in the Hierarchy, and in the Inspector click on "Open Nodes"
4. In the opened Node Editor window click on "Palette > Settings" and click again on "Textures > Lite"
Expected result: AssetBundle file size to be the same across all Unity streams
Actual result: AssetBundle file size is noticeably different in different Unity steams
Reproducible with: 2020.3.19f1, 2021.1.22f1, 2021.2.0b12, 2022.1.0a10
Could not test: 2019.4.30f1 (errors in console, “TerrainManager” script not working)
Notes:
- 2022.1.0a10 the file was 225Mb; 2021.2.0b12 the file was 62Mb; 2021.1.22f1 the file was 517Mb; 2020.3.19f1 the file was 225Mb
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
- Shader warning after building a project with URP Sample
- MissingReferenceException after clicking "Fix now" on NormalMap settings
- The "UniversalRenderPipelineGlobalSettings.asset" is creating noise in the git diff when building a Player
- Scene is marked as dirty when opening the project with Vertical Layout Group added as a Component
- Crash on UnityEngine::Animation::SetGenericFloatPropertyValues when keyframing the RigBuilder component to Enabled and Disabled
Resolution Note:
User script error with TerrainManager.cs, 651 textures are passed into the build pipeline in 2020.3, but in 2021.2 the same code only passes in 213 textures.