Scene graph mesh components not displaying

Summary

Scene graph mesh components with pre fabs randomly will not display if spawned into the world from code after certain distances

Please select what you are reporting on:

Unreal Editor for Fortnite

What Type of Bug are you experiencing?

Other

Steps to Reproduce

Spawn a prefab entity that has a mesh component into the world. Keep running further and further from 0,0,0 and you will notice the entity not showing its mesh component 100% of the time even though the simulation will still run.

Expected Result

Mesh component and simulation should display 100% of the time.

Observed Result

Mesh component does not display 100% of the time

Platform(s)

PC

Video

Additional Notes

Here is the verse code I am using. I get a NPC simulationEntity and add my Magic_Entity to that simulation to bring it into the world then setting the location of the new entity to the global Transform of the player. I do something similar with the Scene graph entities in my boss fight that I show in the video, all of my boss fight mesh components are not showing as well.

SpawnEntity(Player : c_player, Magic_Entity : entity):void=
if(FC := Player.Player.GetFortCharacter):
Loc := (/Verse.org/SpatialMath:)transform :
Translation := FromVector3(FC.GetTransform().Translation) + (/Verse.org/SpatialMath:)vector3:
Up := ZOffset
Rotation := FromRotation(FC.GetViewRotation())
if(World := NPC.GetSimulationEntity):
World.AddEntities(array{Magic_Entity})
Magic_Entity.SetGlobalTransform(Loc)

        if(VerseComponent := Magic_Entity.GetComponent[magic_damage_component]):
            set VerseComponent.MaybePlayer = option{Player}
        if(VFXComponent := Magic_Entity.GetComponent[magic_vfx_component]):
            set VFXComponent.MaybePlayer = option{Player}
        if(SphereComponent := Magic_Entity.GetComponent[magic_sphere_component]):
            set SphereComponent.MaybePlayer = option{Player}

Any updates on this? Spawning Scene graph entities that have meshes for my boss are even worse and it has been this way since the beta got released.

Only this 1 row displays visually even though all the red spikes + the orange spikes are supposed to be there too. They just don’t visually show, collision is there when I run around.

The left image is from when scene graph was in experimental. I’m happy to provide whatever is needed to help this get fixed!

Same issue on my game, when i teleport the player somewhere, and i comeback to my hub, some objects are gone.

In the video you can compare the 5 first seconds and the last 5 seconds

1 Like

FORT-933277 changed to ā€˜Needs More Info’. We’re missing information that would help us determine the source of the issue.

What information? I am happy to provide whatever is needed

@BenPen :stuck_out_tongue:


I can confirm this bug happening (no visuals but collision existing). It happens somewhat randomly, specially when doing actions such as first adding an entity to the scene during runtime, reparenting and removing/readding to scene…

Example video of it happening when reparenting:

1 Like