Skip to content

The loader doesn't actually work #1

@MaxSavenkov

Description

@MaxSavenkov

_Load calls base._Load, but ResourceFormatLoader doesn't actually implement this method, so it just returns null for all resources. I happened upon your code while searching for a solution to a different problem, and I'm not sure how to fix your case. My task was to remap resources from res:// to another, user-specified folder, and what I did was to get an absolute path of the requested resource, and then call ResourceLoader.Load with absolute path, bypassing my own loader. But since your loader needs to check all loaded files, this hack won't work, and will just lead to endless recursion.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions