Skip to content

Asset Changes Are Handled Without Waiting for Asset Load to Finish #408

@zicklag

Description

@zicklag

While going over the asset server with @TekhnaeRaav, he helped me realize that the asset server was responding to changed assets, triggering a forced asset reload, but then handing the asset change without waiting for the actual asset to be re-loaded.

match changed {
ChangedAsset::Loc(loc) => {
let handle = self.load_asset_forced(loc.as_ref());
pending_asset_changes.push(handle);

My brain is only partially consuming this right now, but that definitely seems wrong.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions