How to load a level from soft object path

Hello,
I’m setting a reference to a map in a softobjectpath variable but converting it to string then name and then using load streaming level on the path received doesn’t work. The path that softobjectpath returns is the same as if you clicked on an asset and selected copy file path. Trying to load a level with this path does not work. Anyone know the solution here? I want to load levels by selecting them from content browser instead of typing the path to the name variable manualy.

Hey there,

You only need to remove the extra name at the end of the path and that should do it. Something like this could help:

Cheers,
David

1 Like