You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
Details:
Jotunn Version: 2.4.1.0
Jotunn Submodule(if applicable):
Repeatability: Consistent(100%)
There's a bug in this code:
Jotunn/JotunnLib/Utils/AssetUtils.cs
Line 129 in a5e3dae
Specifically, this line of code:
resourceName = resourceAssembly.GetManifestResourceNames().Single(str => str.EndsWith(bundleName));
I have two AssetBundles -
daisy
andpickable_daisy
. When that code executes while trying to loaddaisy
,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!
The text was updated successfully, but these errors were encountered: