Skip to content

[BUG] #337

@DrewKestell

Description

@DrewKestell

Details:
Jotunn Version: 2.4.1.0
Jotunn Submodule(if applicable):
Repeatability: Consistent(100%)

There's a bug in this code:

resourceName = resourceAssembly.GetManifestResourceNames().Single(str => str.EndsWith(bundleName));

Specifically, this line of code:
resourceName = resourceAssembly.GetManifestResourceNames().Single(str => str.EndsWith(bundleName));

I have two AssetBundles - daisy and pickable_daisy. When that code executes while trying to load daisy, Single() will throw an exception, and swallow that exception.

I would suggest doing some more intelligent string matching, probably by splitting on the . and retrieving the last segment.

Let me know if this repo is open to public contributions and I can submit a PR.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions