Parent Unit Error

Post bug reports and ask for game support here.
Post Reply
BeerHall
Posts: 9
Joined: Wed May 03, 2017 10:46 am

Parent Unit Error

Post by BeerHall »

Parent Unit is invalid when using editor.

Attachments
debug.zip
(570.27 KiB) Downloaded 4 times
User avatar
zakblood
Posts: 22722
Joined: Thu Oct 04, 2012 11:19 am

RE: Parent Unit Error

Post by zakblood »

thanks, one for the developer then
Windows 11 Pro 64-bit (10.0, Build 22621) (22621.ni_release.220506-1250)
User avatar
ralphtricky
Posts: 6675
Joined: Sun Jul 27, 2003 4:05 am
Location: Colorado Springs
Contact:

RE: Parent Unit Error

Post by ralphtricky »

Any idea what caused it? Can you continue working in the Editor?
Ralph Trickey
TOAW IV Programmer
Blog: http://operationalwarfare.com
---
My comments are my own, and do not represent the views of any other person or entity. Nothing that I say should be construed in any way as a promise of anything.
User avatar
TomBombadil711
Posts: 357
Joined: Mon Oct 24, 2005 9:15 pm
Location: Germany

RE: Parent Unit Error

Post by TomBombadil711 »

Same error here after cancelling playback in a PBEM++ game. Game crashed to desktop then. Crashlog attached but I cannot find pu_debug.
Attachments
crashLog.zip
(3.08 KiB) Not downloaded yet
User avatar
ralphtricky
Posts: 6675
Joined: Sun Jul 27, 2003 4:05 am
Location: Colorado Springs
Contact:

RE: Parent Unit Error

Post by ralphtricky »

Thanks, I'll see what it tells me.
Ralph Trickey
TOAW IV Programmer
Blog: http://operationalwarfare.com
---
My comments are my own, and do not represent the views of any other person or entity. Nothing that I say should be construed in any way as a promise of anything.
User avatar
TomBombadil711
Posts: 357
Joined: Mon Oct 24, 2005 9:15 pm
Location: Germany

RE: Parent Unit Error

Post by TomBombadil711 »

Another PBEM++ game, same error. Game crashed and cannot be continued. Very annoying.
BeerHall
Posts: 9
Joined: Wed May 03, 2017 10:46 am

RE: Parent Unit Error

Post by BeerHall »

Editor crash when entering deployment mode.
IainF
Posts: 55
Joined: Wed Nov 20, 2013 4:51 am
Location: London, England

RE: Parent Unit Error

Post by IainF »

I had the same problem as Tom Bombadil. 7 turns in on a PBEM++ game. Parent Unit Error after playback had run though, I didn't interrupt it.

Will post error report thing once I figure out how to.

IainF
Posts: 55
Joined: Wed Nov 20, 2013 4:51 am
Location: London, England

RE: Parent Unit Error

Post by IainF »

Sorry, might be just being a bit dense today but how do I attach file to these messages?
User avatar
ralphtricky
Posts: 6675
Joined: Sun Jul 27, 2003 4:05 am
Location: Colorado Springs
Contact:

RE: Parent Unit Error

Post by ralphtricky »

You have to hit reply instead of the input box at the bottom.

Thanks,
Ralph
Ralph Trickey
TOAW IV Programmer
Blog: http://operationalwarfare.com
---
My comments are my own, and do not represent the views of any other person or entity. Nothing that I say should be construed in any way as a promise of anything.
User avatar
ralphtricky
Posts: 6675
Joined: Sun Jul 27, 2003 4:05 am
Location: Colorado Springs
Contact:

RE: Parent Unit Error

Post by ralphtricky »

This is my top priority right now. I don't want crashes to disrupt play.

Here's what's happening.

Every unit has an x, y location and a pointer to the unit above it in the stack. That's all the save game stores. It sometimes walks through each unit and verifies that every unit is lined up correctly and that the 'parent' unit is in the same location.

What this error means is somehow the two structures got out of sync so I stop so that I can investigate before it gets really bad. While that's great for normal play where you can post a save game, reload and continue, it's obviously unacceptable for PBEM++ play. I'm going to look into why this may be happening, and in the meantime, simply try to log as much information as I can about what's wrong, correct the error and continue.

I don't know why it's being seen in PBEM, I haven't seen that in quite a while in development.

Ralph
Ralph Trickey
TOAW IV Programmer
Blog: http://operationalwarfare.com
---
My comments are my own, and do not represent the views of any other person or entity. Nothing that I say should be construed in any way as a promise of anything.
User avatar
TomBombadil711
Posts: 357
Joined: Mon Oct 24, 2005 9:15 pm
Location: Germany

RE: Parent Unit Error

Post by TomBombadil711 »

What does this mean for our broken PBEM++ games? Will it be possible to continue or will they be lost?

Thanks for your efforts.
User avatar
ralphtricky
Posts: 6675
Joined: Sun Jul 27, 2003 4:05 am
Location: Colorado Springs
Contact:

RE: Parent Unit Error

Post by ralphtricky »

ORIGINAL: TomBombadil711

What does this mean for our broken PBEM++ games? Will it be possible to continue or will they be lost?

Thanks for your efforts.
I'm hoping you'll be able to continue. Some units may move around a bit though.
Ralph Trickey
TOAW IV Programmer
Blog: http://operationalwarfare.com
---
My comments are my own, and do not represent the views of any other person or entity. Nothing that I say should be construed in any way as a promise of anything.
User avatar
ralphtricky
Posts: 6675
Joined: Sun Jul 27, 2003 4:05 am
Location: Colorado Springs
Contact:

RE: Parent Unit Error

Post by ralphtricky »

It looks like it will be simpler than that. That check shouldn't run in the VCR, so I'm going to turn it off. The patch should let you proceed. Please let me know if the patch doesn't fix it.
Ralph Trickey
TOAW IV Programmer
Blog: http://operationalwarfare.com
---
My comments are my own, and do not represent the views of any other person or entity. Nothing that I say should be construed in any way as a promise of anything.
IainF
Posts: 55
Joined: Wed Nov 20, 2013 4:51 am
Location: London, England

RE: Parent Unit Error

Post by IainF »

I didn't install the patch but I tried to run the turn again, 'one last time' before my opponent and I started again, and it worked fine!

Lord knows what happened but there you go.
Post Reply

Return to “Tech Support”