Assertion failed: Parents[i].Property->RepIndex + Parents[i].ArrayIndex == i Engine\Private\RepLayout.cpp [Line: 2214]

I also get this issue when I

  1. Make a change on my character blueprint.

  2. Launch PIE.

  3. Crash

Assertion failed: Parents[i].Property->RepIndex + Parents[i].ArrayIndex == i [File:D:\Program Files\Epic Games\UnrealEngine-release\Engine\Source\Runtime\Engine\Private\RepLayout.cpp] [Line: 2214]

I also sometimes get this:

Assertion failed: Property->PropertyFlags & CPF_Net [File:D:\Program Files\Epic Games\UnrealEngine-release\Engine\Source\Runtime\Engine\Private\RepLayout.cpp] [Line: 2209]

Seems to be an issue related to when variables are set to replicated or repnotify.
After compile and save, I hit play, let it crash and restart to play in pie and it’s fine after the restart.