Description

FIndexedCurve::KeyHandlesToIndices is not replicated, and so seems to be permanently out of date. This isn't readily apparent when there are more keys than the default amount, but when removing keys it becomes an obvious issue.

Note, this issue is also present when playing. Adding a break point inside BeginPlay and inspecting the curve will show that KeyHandlesToIndices only contains the number of items setup in the constructor.

Steps to Reproduce
  1. Create a new C++ class based on AActor.
  2. Add a UPROPERTY(EditAnywhere) FRuntimeFloatCurve to the class.
  3. In the class constructor two keys to the curve.
  4. Create a Blueprint based on the class.
  5. Open the Blueprint and remove one value from the curve.
  6. Close and reopen the Blueprint editor.
  7. View the curve.

Expected: There should be one value on the curve.
Actual: There are two values on the curve display. One is at (0,0) and not connected, the other is the appropriate value.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-35463 in the post.

0
Login to Vote

Won't Fix
ComponentTools
Affects Versions4.124.134.14
CreatedSep 1, 2016
ResolvedSep 7, 2016
UpdatedJun 23, 2018