graham matuszewski
09a49ebd3b
Add an additional nullcheck to SetupAttachment to prevent crashes when clearing a socket on a non-scene component
...
#jira UE-220147
#rb ben.hoffman, dan.oconnor
[CL 35629014 by graham matuszewski in ue5-main branch]
2024-08-19 12:39:46 -04:00
ben hoffman
a2be3384f8
Keep track of visited subobject data handles in USubobjectDataSubsystem::GetActorRootHandle. This is a safegaurd to stop an editor freeze during re-parenting of components which cannot be repro'd internally. Add an error log to get some more info from users who may encounter this.
...
#jira UE-214965
#rb jodon.karlik
[CL 35625116 by ben hoffman in ue5-main branch]
2024-08-19 10:00:54 -04:00
rohit sharma
f6691270f3
Add function to get parent handle for a subobject data
...
#tests NA
#rb ben.hoffman, dan.oconnor
[CL 35066483 by rohit sharma in ue5-main branch]
2024-07-24 16:53:20 -04:00
phillip kavan
5bca809e17
Fix a regression that incorrectly caused a source Blueprint to be modified when adding a new component to an instance of it in the editor.
...
#jira UE-211396
#rb dan.oconnor
#rnx
[CL 34550161 by phillip kavan in ue5-main branch]
2024-06-20 19:10:10 -04:00
kevin macaulayvacher
276d09f6df
Remove all simple usage of REN_ForceNoResetLoaders from the codebase since the flag has been deprecated and currently does nothing. Simple in this case is direct use of the flag with no conditional logic. More complex uses were removed in another change.
...
#rnx
#rb Francis.Hurteau
[CL 34424068 by kevin macaulayvacher in ue5-main branch]
2024-06-17 11:55:02 -04:00
Th3Fanbus
bd72f680aa
PR #11871 : SubobjectDataInterface: Make BPFL functions static
...
#ushell-cherrypick of 33595431 by UnrealBot
#pf 664777f25565dc78dcf97f9b
#jira UE-212432
[CL 33728489 by Th3Fanbus in ue5-main branch]
2024-05-17 13:05:51 -04:00
ben hoffman
aa6fc9acd1
Expose "PasteSubobjects" to blueprints.
...
#jira UE-210559
#rb dan.oconnor
[CL 32681154 by ben hoffman in ue5-main branch]
2024-04-02 17:29:15 -04:00
dan oconnor
edb43ae3ac
AddNewSubobject intelligently finds the blueprint being edited, if any
...
#rb ben.hoffman
#jira UE-182283
[CL 32413950 by dan oconnor in ue5-main branch]
2024-03-21 16:29:38 -04:00
dan oconnor
9c1c9be4a7
Update class's overridden components immediately upon creating the overrridden component, so that the class can be safely loaded if it is saved
...
#rb ben.hoffman
[CL 32312296 by dan oconnor in ue5-main branch]
2024-03-18 17:11:07 -04:00
dan oconnor
853ce85d69
Fix for crash when adding a component in the level editor after its scene root has been deleted, which is permitted for actors based on native classes that do not have a required scene root
...
#rb ben.hoffman
#jira UE-209295
[CL 32191166 by dan oconnor in ue5-main branch]
2024-03-12 16:37:05 -04:00
ben hoffman
badcceb056
Fix for a crash when changing the class or a subobject marked as "Within" to a BP subclass instead.
...
#jira UE-201528
#rb dan.oconnor
[CL 31257028 by ben hoffman in ue5-main branch]
2024-02-07 10:05:11 -05:00
dan oconnor
ff8bfcb552
Remove overzealous ensure
...
#jira UE-201224
#rb jodon.karlik, Phillip.Kavan
[CL 30365837 by dan oconnor in ue5-main branch]
2023-12-15 19:30:55 -05:00
dan oconnor
31c63dde53
Flatten FSubobjectData hierarchy to prevent slicing, the occurence of slicing necessitated removal of subtypes and associated machinery. They were not supportable.
...
#rb ben.hoffman, Phillip.Kavan
#jira UE-201295, FORT-686637
[CL 29968056 by dan oconnor in ue5-main branch]
2023-11-28 15:19:59 -05:00
dan oconnor
364291983a
Make subobject editor fix more conservative, just fix implementation of SSubobjectEditor::GetSelectedItemsForContextMenu to provide the correct component for inherited SCS components
...
#jira UE-194087, UE-196020, UE-194833
#rb Phillip.Kavan, Ben.Hoffman
[CL 28670594 by dan oconnor in ue5-main branch]
2023-10-11 13:09:28 -04:00
logan harvell
ed4aeeee71
[Backout] - CL28194645
...
[FYI] dan.oconnor
Original CL Desc
-----------------------------------------------------------------
Fix several regressions created by 27427693. With these fixes we can also copy components (via the blueprint editor context menu) that are overrides of SCS components (e.g. live in the ICH). This is the 'root' bug that requires I stick with 27427693 despite the instability it has introduced.
Regressions fixed:
Crash on duplicate of instance added component
Crash on copy of ICH component (in blueprint editor)
Ensure on reparent of level editor component to SCS or ICH component
Existing bus fixed:
Failure to reparent component in the level editor if it is changed in a blueprint that inherited the component from another blueprint (which added it via the blueprint editor)
#jira UE-194833
#rb Phillip.Kavan
[CL 28255503 by logan harvell in ue5-main branch]
2023-09-26 19:36:28 -04:00
dan oconnor
5b8bb3021a
Fix several regressions created by 27427693. With these fixes we can also copy components (via the blueprint editor context menu) that are overrides of SCS components (e.g. live in the ICH). This is the 'root' bug that requires I stick with 27427693 despite the instability it has introduced.
...
Regressions fixed:
Crash on duplicate of instance added component
Crash on copy of ICH component (in blueprint editor)
Ensure on reparent of level editor component to SCS or ICH component
Existing bus fixed:
Failure to reparent component in the level editor if it is changed in a blueprint that inherited the component from another blueprint (which added it via the blueprint editor)
#jira UE-194833
#rb Phillip.Kavan
[CL 28195603 by dan oconnor in ue5-main branch]
2023-09-25 14:00:42 -04:00
dan oconnor
9bce999fcf
FSubobjectData, used by the component editors (in world component editor, blueprint editor) now properly stores the component reference for overridden and instance components
...
#rb Ben.Hoffmann
#jira UE-194087
[CL 27427693 by dan oconnor in ue5-main branch]
2023-08-28 17:54:41 -04:00
dan oconnor
02cc623729
Silence warning when subobject deletion is forced
...
#jira UE-184057
#rb Ben.Hoffmann
[CL 26787162 by dan oconnor in ue5-main branch]
2023-08-02 16:47:02 -04:00
jordan hoffmann
6281e28298
[BugFix] Components copy/pasted from an actor instance's SCS can't be deleted from a Blueprint
...
#rb ben.hoffman
#jira UE-175707
#preflight 646fc16f5b484acfee661577
[CL 25628233 by jordan hoffmann in ue5-main branch]
2023-05-25 16:35:45 -04:00
Dominik Peacock
b86a8ba6b2
Fix fallout of not being able to rename instanced component of native C++ classes
...
#jira UE-185549
#rb Ben.Hoffman
#preflight https://horde.devtools.epicgames.com/job/64639e45f033744ae6f8adb4
#fyi Jason.Walter
[CL 25498319 by Dominik Peacock in ue5-main branch]
2023-05-16 17:29:19 -04:00
kirill zorin
de8db5ff76
Converting ARO-facing raw pointers to TObjectPtr ahead of raw pointer ARO API deprecation.
...
#rb zousar.shaker
#rb markus.breyer
#rb robert.manuszewski
#preflight 646391406b1406b54ab15460
[CL 25489627 by kirill zorin in ue5-main branch]
2023-05-16 10:52:49 -04:00
Dominik Peacock
5a2b491eb5
Fix subobject editor allowinginstanced components to have a dot in its name
...
#jira UE-185549
#rb Ben.Hoffman
#preflight https://horde.devtools.epicgames.com/job/645bb51d1f5692cc7a6e3dbb
#fyi Jason.Walter
[CL 25431401 by Dominik Peacock in ue5-main branch]
2023-05-11 13:34:33 -04:00
ben hoffman
334bd991a6
Prevent a crash when attempting to add an invalid subobject class type with the Subobject Data Subsystem. In an ideal world, a subobject does not have to be a component, but that is a current limitation of the UE object model that is exposed to blueprints.
...
#jira UE-185001
#rb nate.strohmyer
#preflight skip
[CL 25343870 by ben hoffman in ue5-main branch]
2023-05-04 18:08:58 -04:00
phillip kavan
a223b133e1
Fix the component hierarchy display in the Actor details tab to remain static/deterministic in terms of tree node order after its Blueprint class is compiled and/or Actor reconstruction occurs.
...
#rb Ben.Hoffman, Marc.Audy
#preflight 63b5ea12d067708b9b1f1dab
[CL 23584427 by phillip kavan in ue5-main branch]
2023-01-04 20:25:44 -05:00
phillip kavan
6848d0a218
Back out CL 21894681 for 5.1.
...
#jira UE-55663
#rb David.Garza
#preflight 6358356f734237a3deb444ec
[CL 22795894 by phillip kavan in ue5-main branch]
2022-10-26 18:17:40 -04:00