Skip to content

Crash on load new assets from mod folder #1153

@codeard

Description

@codeard

Is it possible to load new assets such as models or materials, or do assets have to be previously registered in the engine build?
When add new assets in blueprint game will crash on stratup with acess violation, even if they has to be used later.
Tried remove logic from BP and load with AssetRegistryHelpers:GetAsset(AssetData) from Lua script at runtime and got same crash exactly at this function, LoadAsset(path) return nil.
The biggest success is the texture on the 32x32 widget, but with a different size I get a serialization error

I wonder how material can be loaded from mod folder there

https://github.com/joric/SupraTools/blob/main/Scripts/Minimap_dev.lua
Image

Fatal error on default cube

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions