Attempting to clear an array in a const function returns no compiler error in blueprints. If you create the same setup in C++ using a const function, an error is returning upon compiling as expected.
Result: No compiler warning
Expected: Compiler warning would appear as you are attempting to modify a property of the blueprint in a Const function.
How does TextureRenderTarget2D get TArray<uint8> type data?
UMG RichText not appear image when packaged
How to delete some elements correctly when deleting an array loop?
Why does the REMOVE method of map container remove elements have memory leaks?
Why RevisionControl connect failed in Unreal5.4 but Unreal5.3 success
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-40445 in the post.
0 |
Component | UE - Gameplay - Blueprint |
---|---|
Affects Versions | 4.13, 4.14, 4.16 |
Created | Jan 11, 2017 |
---|---|
Resolved | Jan 12, 2017 |
Updated | Apr 27, 2018 |