Page 3 of 3

Re: Crash on startup in Congestion 64 MAP20, Hexen MAP40, et

Posted: Sun Mar 04, 2012 16:23
by Enjay
Changelog wrote:- Everyone loves crashes, right?
Heh.

I think I'll put a news announcement explaining the specific risk of using builds with the potential for this crash and link it back here. It might serve to inform some people I guess.

Re: Crash on startup in Congestion 64 MAP20, Hexen MAP40, et

Posted: Sun Mar 04, 2012 17:04
by Graf Zahl
Agreed.

Gez, please don't mess around with this any further unless you know precisely what you are doing.

Re: Crash on startup in Congestion 64 MAP20, Hexen MAP40, et

Posted: Wed Mar 07, 2012 2:08
by Graf Zahl
Ok, now this can finally be retired.

Of course Gez's attempts to fix this couldn't work because they didn't address the actual problem: The StateChanged call in AActor::StaticSpawn was in the wrong place. This call must be in PostBeginPlay which is the earliest code of an actor that gets called once it has been fully set up.

Moving the call there and ensuring that all actors call the super method of PostBeginPlay seems to work fine. I get no crashes in Hexen MAP40 and all lights appear to be there.

Re: Crash on startup in Congestion 64 MAP20, Hexen MAP40, et

Posted: Wed Mar 07, 2012 20:29
by Enjay
Yes, Hexen map40 is fine for me too and I had a wander through some quite complicated levels with heavy dynamic light use and didn't see any obvious problems.

Re: Crash on startup in Congestion 64 MAP20, Hexen MAP40, et

Posted: Wed Mar 07, 2012 23:46
by Gez
Graf Zahl wrote:Of course Gez's attempts to fix this couldn't work
I never claimed it was a fix (and I didn't move the thread out of the bugs forum), merely that it was a temporary crash-prevention measure until an actual fix was made.