When the order of construction is backwards it makes it impossible to have native objects set up components in OnConstruction, that a child BP Construction Script then has access to. Sometimes the C++ Construction is called before the Blueprints but if you toggle a setting on the BP, such as 'Use Controller Rotation Pitch', the Blueprint is called first.
Attached is a repro project with the steps already setup.
This was reported and tested in 4.22.3 (7053642). This was reproduced in 4.21.2 (CL-4753647), 4.23 (CL-7173969), and Main 4.24 (CL-7174533)
Results:Child Blueprint Construction Script logging occurs before Parent OnConstruction logging
Expected: Parent OnConstruction logging, followed by child Blueprint Construction Script logging
Why does the REMOVE method of map container remove elements have memory leaks?
How does TextureRenderTarget2D get TArray<uint8> type data?
What is the cause of the packaging error falling back to 'GameUserSettings' in ue5?
How do I set a material as a post-processing material?
UMG RichText not appear image when packaged
How to delete some elements correctly when deleting an array loop?
What is the difference between Camera and CineCamera?
How does TArray loop correctly remove elements in blueprints?
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-76782 in the post.
6 |
Component | UE - Gameplay |
---|---|
Affects Versions | 4.23, 4.21.2, 4.24, 4.22.3 |
Created | Jun 25, 2019 |
---|---|
Resolved | Aug 27, 2021 |
Updated | Aug 27, 2021 |