Why I cannot set default value of object reference in level blueprint?

This is what I do:

  1. Create a default blueprint third person game project
  2. Create a object reference variable in level blueprint.
  3. Set the default value of the object reference variable ( I failed here, the default value alway none)

    (No matter what I do, the default value always be none)
    I tried different class such as <BP_ThirdPersonCharacter> , they are all the same.

I cannot duplicate this bug on other computer.
This Bug shows in UE 5.0 5.1, and disappears in UE 4.27 on my computer
My visual studio version is 2019 16.11.21

1 Like

You can’t set the default value to a level actor in a blueprint for a class that can be instantiated in any level, because clearly that level actor is not available in any level.

My guess is that you can’t do this, because of world partition/level streaming, because there’s no guarantee that that actor will be there. Does it work if you turn off world partition?

Maybe it just can’t be done in 5.0 at all, because of this.
If so, a work-around might be to give the actor you want to find, a tag of some sort, and then look for actors with that tag in the level begin play callback.

1 Like

I tried on the computer belong to my company, it’s nothing wrong. Default value in level blueprint is able to set. Only my computer in my bedroom have this bug. I tried to re-install visual studio and UE5, the bug is still there.

1 Like

I have definitely the same problem now.