How to Reference a Level (Asset) ??

I want to manage my levels from within my GameInstance. When I give it a UPROPERTY of type ULevel* I can’t set it to any of the levels/maps in my project - the list in the editor stays empty.

Help!! I have no idea what to do…

When I try to reference the level as a UObject in blueprint, I get an error on compiling saying it’s in another level.

Try UWorld*

UPROPERTY(EditAnywhere, BlueprintReadWrite)
TSoftObjectPtr MyUpropertyWorld;

This is a asset (not loaded) reference. You must be load the world for operate with it.