Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

bug #7

Open
fishclown opened this issue Feb 8, 2025 · 0 comments
Open

bug #7

fishclown opened this issue Feb 8, 2025 · 0 comments

Comments

@fishclown
Copy link

RichBuildLayout.cs

foreach (var asset in assets.Values)
{
foreach (var baseReferece in asset.lowlevel.externalReferences)
{
var reference = FindAsset(baseReferece);
if (reference == null)
continue;

    asset.externalReferences.Add(reference);
}

}

In the above code logic
var reference = FindAsset(baseReferece);
Asset FindAsset(string uid)
{
if (assets.TryGetValue(uid, out var asset))
{
return asset;
}

return null;

}
The key value indicates a bug

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant