Page 1 of 1

AO1945 Crash on load of first battle when continuing from AO1944

Posted: Fri Jun 23, 2023 4:20 am
by makoto14
Hello!

I downloaded AO1945 and wanted to continue from AO1944 and it crashed at first load. Here is the crash log. Can you take a look? Also have the save file but it wont let me post it here.

Also I started a new game of AO1945 without importing the core, and it showed an old unit DB from the end of AO1943 without the AO1944 units. I think this may be the problem as it's trying to load units from my AO1944 core that don't exist? Here is the AO1945 operation puma tac bomber screenshot but it is missing all the units added in AO1944. Just a thought and please help!
a.JPG
a.JPG (262.95 KiB) Viewed 748 times


Specs:
AMD 7600x, Geforce 3060, Windows 10
Steam, Panzer Corp2, Ahistoric path

Crash Log
LoginId:a7986c904f0378dcfefe9abb818d88d1
EpicAccountId:

Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x0000000000000530

PanzerCorps2_Win64_Shipping!AUnitActor::AssembleBody() [C:\Projects\PanzerCorps2\SVN\trunk\Source\Unit\UnitActor.cpp:291]
PanzerCorps2_Win64_Shipping!AUnitActor::SetWorld() [C:\Projects\PanzerCorps2\SVN\trunk\Source\Unit\UnitActor.cpp:145]
PanzerCorps2_Win64_Shipping!GameState::AddUnit() [C:\Projects\PanzerCorps2\SVN\trunk\Source\GameCore\GameState.cpp:178]
PanzerCorps2_Win64_Shipping!GameEngine::LoadUnits() [C:\Projects\PanzerCorps2\SVN\trunk\Source\PanzerCorps2\GameEngine.cpp:144]
PanzerCorps2_Win64_Shipping!GameState::xproperty_units_meta::Access::Move() [C:\Projects\PanzerCorps2\SVN\trunk\Source\GameCore\GameState.h:55]
PanzerCorps2_Win64_Shipping!BinMetaData::Read<GameState,std::unordered_map<int,unique<Unit,std::default_delete<Unit> >,std::hash<int>,std::equal_to<int>,std::allocator<std::pair<int const ,unique<Unit,std::default_delete<Unit> > > > > >() [C:\Projects\PanzerCorps2\SVN\trunk\Source\Common\BinSerializer.h:708]
PanzerCorps2_Win64_Shipping!BinSerializer<MultiplayerEngine,void *>::Read() [C:\Projects\PanzerCorps2\SVN\trunk\Source\Common\BinSerializer.h:564]
PanzerCorps2_Win64_Shipping!GameEngine::StartGame() [C:\Projects\PanzerCorps2\SVN\trunk\Source\PanzerCorps2\GameEngine.cpp:535]
PanzerCorps2_Win64_Shipping!``UEGameInstance::PlayScenario'::`2'::<lambda_1>::operator()'::`2'::<lambda_1>::operator()() [C:\Projects\PanzerCorps2\SVN\trunk\Source\PanzerCorps2\UEGameInstance.cpp:263]
PanzerCorps2_Win64_Shipping!AGame::Initialize() [C:\Projects\PanzerCorps2\SVN\trunk\Source\PanzerCorps2\Game.cpp:80]
PanzerCorps2_Win64_Shipping!TBaseFunctorDelegateInstance<void __cdecl(UWorld *,UWorld::InitializationValues),FDefaultDelegateUserPolicy,`AGame::Serialize'::`11'::<lambda_1> >::ExecuteIfSafe() [C:\Program Files\Epic Games\UE_4.26\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:838]
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: AO1945 Crash on load of first battle when continuing from AO1944

Posted: Fri Jun 23, 2023 7:02 am
by Grondel
makoto14 wrote: Fri Jun 23, 2023 4:20 am Hello!

I downloaded AO1945 and wanted to continue from AO1944 and it crashed at first load. Here is the crash log. Can you take a look? Also have the save file but it wont let me post it here.

judging by ur crash report u have a corrupt unit in the core u try to import. this usually happens when u turn of mods that change units that were active when u saved that core.

hope this helps.

sers,
Thomas

Re: AO1945 Crash on load of first battle when continuing from AO1944

Posted: Fri Jun 23, 2023 7:49 am
by makoto14
Grondel wrote: Fri Jun 23, 2023 7:02 am
makoto14 wrote: Fri Jun 23, 2023 4:20 am Hello!

I downloaded AO1945 and wanted to continue from AO1944 and it crashed at first load. Here is the crash log. Can you take a look? Also have the save file but it wont let me post it here.

judging by ur crash report u have a corrupt unit in the core u try to import. this usually happens when u turn of mods that change units that were active when u saved that core.

hope this helps.

sers,
Thomas
Thanks Grondel! 100% user error here, forgot to enable the mods i had on during AO1944.