Hi there! In the editor you might have to wait until the asset registry has finished discovering assets.
If AssetRegistry.IsLoadingAssets()
returns true, you might have to come back later. Alternatively, you can bind onto its OnFilesLoaded()
event to get notified when it has finished loading files.
EDIT:
This turned out to be failing due to the Material’’ type decoration that only succeeds when the asset is loaded. Passing in just the object path proved successful in both cases.