Skip to content

Bug: Adding multiple aliases to images in asset manifest breaks progress value in callback #10981

@lunarraid

Description

@lunarraid

Current Behavior

When loading an asset bundle via Assets.loadBundle() and assigning a progress callback, the progress callback will never reach 1 if images inside of the bundle specify multiple aliases.

Expected Behavior

The amount of aliases used in the bundle should not effect load progress callback values.

Steps to Reproduce

Environment

Possible Solution

No response

Additional Information

It appears that when loading a bundle, the progress callback uses a key count to determine the amount loaded / the amount to load. The key count for some reason seems to include the aliases, but this behavior does not occur when loading a single asset instead of loading a bundle. I may dig deeper into this when I get a chance.

Metadata

Metadata

Assignees

Labels

🕷 BugVerified that it’s actually a legit bug that exists in the current release.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions