Page 1 of 1

Crash: Operation O-Go

Posted: Thu Nov 30, 2023 7:27 pm
by charge62
Multiple crashes when attempting to upgrade a cavalry unit. Select unit in side panel and click "U". Crash to desktop.

Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x0000000000000018

PanzerCorps2_Win64_Shipping!UUnitClass::CreateFigure() [C:\Projects\PanzerCorps2\SVN\trunk\Source\Unit\UnitClass.cpp:911]
PanzerCorps2_Win64_Shipping!AIconFactory::Tick() [C:\Projects\PanzerCorps2\SVN\trunk\Source\Gui\IconFactory.cpp:106]
PanzerCorps2_Win64_Shipping!AActor::TickActor()
PanzerCorps2_Win64_Shipping!FActorTickFunction::ExecuteTick()
PanzerCorps2_Win64_Shipping!TGraphTask<FTickFunctionTask>::ExecuteTask()
PanzerCorps2_Win64_Shipping!FNamedTaskThread::ProcessTasksUntilQuit()
PanzerCorps2_Win64_Shipping!FTaskGraphImplementation::WaitUntilTasksComplete()
PanzerCorps2_Win64_Shipping!FTickTaskSequencer::ReleaseTickGroup()
PanzerCorps2_Win64_Shipping!FTickTaskManager::RunTickGroup()
PanzerCorps2_Win64_Shipping!UWorld::Tick()
PanzerCorps2_Win64_Shipping!UGameEngine::Tick()
PanzerCorps2_Win64_Shipping!FEngineLoop::Tick()
PanzerCorps2_Win64_Shipping!GuardedMain()
PanzerCorps2_Win64_Shipping!GuardedMainWrapper()
PanzerCorps2_Win64_Shipping!WinMain()
PanzerCorps2_Win64_Shipping!__scrt_common_main_seh() [d:\a01\_work\12\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
kernel32
ntdll

Re: Crash: Operation O-Go

Posted: Thu Nov 30, 2023 8:34 pm
by charge62
I went back to the last Operation Tenacity save. Now when I end Tenacity, all the non-Azul Infantry (2x Cavalry) are showing as invalid units. Also, those invalid infantry units are categorized as tanks.

Re: Crash: Operation O-Go

Posted: Fri Dec 01, 2023 7:10 am
by SolidusMD
Have the exact same error on the exact same map.

Mission started out fine.
Went ahead to modify my new JP Banzai Infantry and change the Camos on my units to Snow camo.

Game plays fine but crashes as soon as I want to access an earlier save.

After that first crash it consistently crashes if I attemp to try any other save than Turn 0. Essentially you have to start at Turn 0 and finish the complete mission without quitting or attempting to access an earlier Save

Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x0000000000000018

PanzerCorps2_Win64_Shipping!UWorld::InitWorld()
PanzerCorps2_Win64_Shipping!UEngine::LoadMap()
PanzerCorps2_Win64_Shipping!UEngine::Browse()
PanzerCorps2_Win64_Shipping!UEngine::TickWorldTravel()
PanzerCorps2_Win64_Shipping!UGameEngine::Tick()
PanzerCorps2_Win64_Shipping!FEngineLoop::Tick()
PanzerCorps2_Win64_Shipping!GuardedMain()
PanzerCorps2_Win64_Shipping!GuardedMainWrapper()
PanzerCorps2_Win64_Shipping!WinMain()
PanzerCorps2_Win64_Shipping!__scrt_common_main_seh() [d:\a01\_work\12\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
kernel32
ntdll

Re: Crash: Operation O-Go

Posted: Fri Dec 01, 2023 10:13 am
by VirgilInTheSKY
charge62 wrote: Thu Nov 30, 2023 8:34 pm I went back to the last Operation Tenacity save. Now when I end Tenacity, all the non-Azul Infantry (2x Cavalry) are showing as invalid units. Also, those invalid infantry units are categorized as tanks.
Read the changelog, it means you are using mod units that are inaccessible due to the mod being disabled. Game used to just crash when it encounters such situation, but now it tells you it can't find the thing instead.

Re: Crash: Operation O-Go

Posted: Fri Dec 01, 2023 3:06 pm
by charge62
Thanks for the reply. I am running no mods.

Went back to check and I disabled the PC1 Grand Campaign mod AFTER I created the AO46 campaign. So that problem is dealt with.

Tested this morning and pressing the "B" key still crashes the game.

Re: Crash: Operation O-Go

Posted: Fri Dec 01, 2023 7:06 pm
by Raganr129
Don't take any of the Elite Objectives that award Japanese Infantry. Those are your culprits

Re: Crash: Operation O-Go

Posted: Fri Dec 01, 2023 8:41 pm
by WalterTFD
I came here to say the same thing. All is going well till San Fran, where game crashes with error above if I try to upgrade infantry. I think the Japanese infantry are the issue, as I can upgrade non infantry screens.

Re: Crash: Operation O-Go

Posted: Sat Dec 02, 2023 2:16 am
by charge62
Devs released an update to version 1.09.03 which fixes the problem.

If you load a saved game of a mission in progress, it will still crash.

Go back to the final saved game of your last completed mission. Load from there and all will be well.

Re: Crash: Operation O-Go

Posted: Sat Dec 02, 2023 11:28 am
by Nexus
If you load a saved game of a mission in progress, it will still crash.
Thanks. This fixed the problem for me. I already had the patch but started the mission before it was applied.

Please accept 1 Internet-Karma from me for saving my weekend :D

Re: Crash: Operation O-Go

Posted: Thu Dec 07, 2023 6:26 pm
by WalterTFD
Can confirm, bug fixed by patch, have now upgraded infantry and are able to use w/out issues.