[Scene Graph] Prefab Duplicating In Editor Causes Inconsistencies and Ignores Changes

Summary

Duplicating Prefabs has chaotic results and make the prefabs look different in editor and in the actual level.

Please select what you are reporting on:

Creative

What Type of Bug are you experiencing?

Assets

Steps to Reproduce

Drag a prefab into the Editor
Change a child entity in the prefab
Duplicate the Prefab
Change a child entity in the prefab
Duplicate the Prefab

Expected Result

All three prefabs duplicate correctly and are synced correctly in game

Observed Result

First duplicated prefab looks correctly duplicated in editor but shows up wrong in game
Second duplicated prefab resets to default transforms and when changed it become inconsistent with in-game.

Platform(s)

windows

Video

Thanks for the report, we are looking into it!

2 Likes

Does it insist if you close FN client and reopen?

1 Like

If you reopen your project, the prefabs will reset to the defaults and than seemingly works fine from then on.

1 Like

@Rodney_Houle

Just want to add to this when you dupe a prefab and change its editable ref to a entity in the world this doesn’t override so when you do something with the editable ref transform it is failing and using the main prefab transform instead even thought the editable is connected ect.

Another thing i noticed

@Rodney_Houle

If you copy a prefab and it has a comp on it in verse and you have a print() for example. If you delete the prefab you copied even though its not in the world/Outliner itll always Print() like its valid even thought it doesn’t exists.

I had 2 prefabs in the world - 2x Prints() would happen.

I alt copied a prefab then 3x Prints() would happen.

I deleted the alt copied prefab and still 3x Prints() happen ? very weird as the prefab doesn’t exists.

Restarting UEFN fixed this but yea this needs checking out for sure.

I’ve been building everything inside the prefab editor instead, I found it avoids the issues for the most part.

Hopefully the fix made it through QA and will be in tomorrow update.

1 Like

I don’t have issues with building prefabs tbh and even the in-place editor thing is awesome. (Needs a hotkey when a entity is highlighted)

Most issues I’ve encountered are all about copying prefabs in some way.

If they fix this issue then this system would be 1000% better to create in as the current way now is dragging a new prefab in the world then editing the editable again and again this is not practical but at least solves any issue with alt copy.

Lets hope some bug fixes are coming :slight_smile:

thats what i mean, copying prefabs inside the prefab editor doesn’t error like it does in the level. So you can build and copy mostly in the prefab editor than drop it into the level.

1 Like

FORT-1008205 is ‘Closed’ as ‘Fixed’. The issue will be addressed in 39.00.