x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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

When converting from 4.10 the game runs in PIE just fine until after you make a change on a Character blueprint.

Then it crashes with the below error.

  1. Make a change on my character blueprint.

  2. Launch PIE.

  3. Crash

Get this error:

 Assertion failed: Parents[i].Property->RepIndex + Parents[i].ArrayIndex == i [File:E:\Unreal Engine - Git\Engine\Source\Runtime\Engine\Private\RepLayout.cpp] [Line: 2214] 
Product Version: UE 4.11 Preview
Tags:
more ▼

asked Mar 23 '16 at 01:09 AM in Bug Reports

avatar image

Taurian
311 36 56 72

avatar image Sean L ♦♦ STAFF Mar 23 '16 at 01:12 PM

Hello,

  • Could you provide the logs from your project's Saved->Logs folder?

  • Are you getting a crash reporter window? If so, could you please provide your Machine ID and ensure that you hit send on the crash report?

  • Have you been able to reproduce this in a clean project?

avatar image Sean L ♦♦ STAFF Mar 28 '16 at 02:38 PM

Hello,

I am marking this topic as resolved for tracking purposes, as we have not heard from you in a few days. If this issue persists, feel free to respond to this thread. For any new issues, please create a new Answerhub topic.

Have a great day

avatar image Xaith Jun 09 '16 at 01:00 AM

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.

avatar image Sean L ♦♦ STAFF Jun 09 '16 at 01:09 PM

Hey Xaith,

I'm glad that restarting allows you to continue working on your project; however, I'd like to ensure that this crash gets resolved if possible.

Could you please answer the three questions I asked in my above comment so that we can begin to investigate this issue?

avatar image Taurian Jun 09 '16 at 02:04 PM

Being unable to reproduce in a clean project doesn't dismiss the issue. The problem is that sometimes the crash reporter doesn't even load (Oh no, another bug), and if by some chance it does, the error above obviously doesn't give us any clues.

Xaith, here's a good question: Are you having this problem in 4.12 or 4.11?

Because honestly, the only way a problem like this get's solved (based on what I've seen here) is that people have to keep reporting it in 4.13, 4.14, 4.15 before someone finally realizes that we need better debugging tools to help anyone at Epic diagnose these issues.

avatar image skeetaseasonTV May 25 '17 at 10:55 PM

I am running to this issue after upgradeing to 4.16

Assertion failed: Parents[i].Property->RepIndex + Parents[i].ArrayIndex == i [File:C:\Users\Skeeta\Documents\GitHub\UnrealEngine\Engine\Source\Runtime\Engine\Private\RepLayout.cpp] [Line: 2980]

avatar image Xaith Jun 02 '17 at 08:26 PM

I forget what I did to fix this but, I think, you need to change your RepNotify variables to None. Then, delete the automatically generated On-Rep functions. Make sure to save any code that may be in your OnRep functions before you delete them. Rebuild your project (from the .sln most likely is what i did) and then when it 'works' reset your OnRep Variables. Also, please let me know if that fixed it as I really cannot remember if that is how I fixed this.

avatar image Sarr Aug 17 '17 at 04:14 PM

I can confirm that setting all replicated variables that are RepNotify to None, removing the generated On-Rep Functions, compiling, restarting project, and then recreating the RepNotifies, worked for me

avatar image Xaith Aug 17 '17 at 07:53 PM

Thanks for (another) confirmation. Glad it worked for you. I've helped a couple others with this same issue before so i'll repost as an answer.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

My solution seems to work so reposting as an answer:

Xaith Jun 02 '17 at 10:26 AM I forget what I did to fix this but, I think, you need to change your RepNotify variables to None. Then, delete the automatically generated On-Rep functions. Make sure to save any code that may be in your OnRep functions before you delete them. Rebuild your project (from the .sln most likely is what i did) and then when it 'works' reset your OnRep Variables. Also, please let me know if that fixed it as I really cannot remember if that is how I fixed this.

▼reply Sarr 19 minutes ago Newest I can confirm that setting all replicated variables that are RepNotify to None, removing the generated On-Rep Functions, compiling, restarting project, and then recreating the RepNotifies, worked for me

Thanks for (another) confirmation Sarr

more ▼

answered Aug 17 '17 at 04:36 PM

avatar image

Xaith
366 3 2 12

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Please provide the logs from your project's Saved->Logs folder so that we can take a closer look at the errors that you are experiencing.

In order to get a bug report in, I'll need to get reproduction steps, or a simplified test project at the very least. If you are aware of any way to reproduce it or can provide a project, please do so. Without a callstack or logs, there's not much that I can do to investigate this crash, so as soon as you are able to provide that information I can get going on trying to reproduce the issue.

Thanks!

more ▼

answered Jun 09 '16 at 02:09 PM

avatar image

Sean L ♦♦ STAFF
43.5k 485 152 443

avatar image skeetaseasonTV May 25 '17 at 10:55 PM

Assertion failed: Parents[i].Property->RepIndex + Parents[i].ArrayIndex == i [File:C:\Users\Skeeta\Documents\GitHub\UnrealEngine\Engine\Source\Runtime\Engine\Private\RepLayout.cpp] [Line: 2980]

I am running to this issue after upgradeing to 4.16

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question