-
Notifications
You must be signed in to change notification settings - Fork 96
Description
When attempting to open a bundle which contains meshes that have been 'stripped' by Unity at build time, the following error occurs.
[Warning] Unable to load object [Warning] Assets CAB-c34109ce312650cee7550ec680ca14a0 [Warning] Path <REDACTED>\linux_ds\meshes.bundle [Warning] Type Mesh [Warning] PathID 9223143378129672258 [Warning] System.IndexOutOfRangeException: Index was outside the bounds of the array. [Warning] at AssetStudio.Mesh.GetTriangles() in L:\GIT\AssetStudioMod\AssetStudio\Classes\Mesh.cs:line 1059 [Warning] at AssetStudio.Mesh.ProcessData() in L:\GIT\AssetStudioMod\AssetStudio\Classes\Mesh.cs:line 703 [Warning] at AssetStudio.Mesh..ctor(ObjectReader reader) in L:\GIT\AssetStudioMod\AssetStudio\Classes\Mesh.cs:line 680 [Warning] at AssetStudio.AssetsManager.ReadAssets() in L:\GIT\AssetStudioMod\AssetStudio\AssetsManager.cs:line 567 [Warning]
This can be repro'd by making a bundle for a dedicated server (windows or linux) with Enable Dedicated Server optimizations
checked ON. (tested with Unity 2022.3)
