Description

When creating a Curve Compression Setting asset and changing the codec from Compressed Rich Curves to either Uniform Indexable or Uniformly Sampled the editor crashes.

Tested in //UE4/Release-4.26 @ CL 15973114 and this did not occur, so marking as a Regression.

Steps to Reproduce
  1. Open any project
  2. Right-click in the content browser
  3. Select Animation > Curve Compression Setting
  4. Open the Curve Compression Setting asset
  5. Change the codec to either Uniform Indexable or Uniformly Sampled

RESULT:

The editor crashes

EXPECTED:

**The user can change the codec type without crashing

Callstack
Windows GetLastError: The operation completed successfully. (0)
Error: === Critical error: ===
Error: 
Error: Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:D:\Build\++UE4\Sync\Engine\Source\Runtime\Core\Public\Containers/Array.h] [Line: 703] 
Error: Array index out of bounds: 0 from an array of size 0
Error: 
Error: 
Error: [Callstack] 0x00007ff903f73b19 KERNELBASE.dll!UnknownFunction []
Error: [Callstack] 0x00007ff8b0ef39c8 UE4Editor-Core.dll!`string'() []
Error: [Callstack] 0x000000894e175f60 UnknownFunction []
Error: [Callstack] 0x0000000000000400 UnknownFunction []
Error: [Callstack] 0x0000000000000068 UnknownFunction []
Error: [Callstack] 0x0000000000004000 UnknownFunction []
Error: 

Have Comments or More Details?

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

4
Login to Vote

Fixed
ComponentUE - Anim
Affects Versions4.27
Target Fix5.0
CreatedNov 18, 2021
ResolvedJan 26, 2022
UpdatedApr 27, 2022