Skip to content

Unable to load empty meshes (dedicated server builds which strip meshes). #90

@coty-crg

Description

@coty-crg

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)

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions