Page 1 of 1

Error: Unhandled Exception!

Posted: Sun Mar 12, 2017 6:42 am
by Jackisath
Designed a rudimentary campaign map and was going in to test how it handled bare bones and I got the following error:

---------------------------
SANCTUS: SanctusReach.EXE - Fatal Application Exit
---------------------------
*** Unhandled Exception! ExpCode: 0xC0000005 ExpFlags: 0 ExpAddress: 0x0047AD59 Please report!
---------------------------
OK
---------------------------

Some important information! My steam games are installed on a separate drive (E:\) from my Windows (C:\)

Here's the error file:

VER:10000 BUILD:10009
PLATFORM: WINDOWS
CPU String: AuthenticAMD
Model = 2
Family = 15
Extended family = 6
CLFLUSH cache line size = 64
APIC Physical ID = 3
CPU Brand String: AMD FX(tm)-8320 Eight-Core Processor
Cache Size = 2048K
Found DirectX Version Number: 4.09.00.0904
Creating Device.....
MonkeyInitStart
MIS: Found DD
MIS: IsHW
MIS: SetCoop
MIS: Setting Disp Mode
MIS: Done Init 3D Device
MIS: Tex Enum
MIS: SDRS
MIS: Init Decal Render
TS: Start
TS: IAPSent
TS: UILoaded
INITIAL LOAD 1453
TS: BattleObj
TS: Managers
TS: BFBB
TS: LT
TS: InitDLUI
TS: Messages
TS: Ended
WARNING: Missing font calsonsmall
Playing as: 0
SIDE 0
Playing as: 0
SIDE 0
Rebuilding the Device....
SUCCESS!!!! Rebuilding the Device....
Rebuilding the Device....
SUCCESS!!!! Rebuilding the Device....
Rebuilding the Device....
SUCCESS!!!! Rebuilding the Device....
Rebuilding the Device....
SUCCESS!!!! Rebuilding the Device....
Rebuilding the Device....
SUCCESS!!!! Rebuilding the Device....
Rebuilding the Device....
SUCCESS!!!! Rebuilding the Device....
Rebuilding the Device....
SUCCESS!!!! Rebuilding the Device....
WARNING: Missing font calsonsmall
Playing as: 0
######## EXCEPTION: 0xC0000005 at address: 0x0047AD59
SEARCHING: E:\Games\Install\SteamLibrary\steamapps\common\Warhammer 40000 Sanctus Reach;E:\Games\Install\SteamLibrary\steamapps\common\Warhammer 40000 Sanctus Reach;C:\WINDOWS
E:\Games\Install\SteamLibrary\steamapps\common\Warhammer 40000 Sanctus Reach;E:\Games\Install\SteamLibrary\steamapps\common\Warhammer 40000 Sanctus Reach;C:\WINDOWS
0: SymGetSymFromAddr64(): GetLastError = 487
0: SymGetSymFromAddr64(): GetLastError = 487
0: SymGetSymFromAddr64(): GetLastError = 487
0: SymGetSymFromAddr64(): GetLastError = 487
0: SymGetSymFromAddr64(): GetLastError = 487
0: SymGetSymFromAddr64(): GetLastError = 487
0: SymGetSymFromAddr64(): GetLastError = 487
0: SymGetSymFromAddr64(): GetLastError = 487
0: SymGetSymFromAddr64(): GetLastError = 487
0: SymGetSymFromAddr64(): GetLastError = 487
0: SymGetSymFromAddr64(): GetLastError = 487
0: SymGetSymFromAddr64(): GetLastError = 487
0: SymGetSymFromAddr64(): GetLastError = 487
0: SymGetSymFromAddr64(): GetLastError = 487
0: SymGetSymFromAddr64(): GetLastError = 487
0: SymGetSymFromAddr64(): GetLastError = 487
0: SymGetSymFromAddr64(): GetLastError = 487
0: SymGetSymFromAddr64(): GetLastError = 487
0: SymGetSymFromAddr64(): GetLastError = 487
0: SymGetSymFromAddr64(): GetLastError = 487
0: SymGetSymFromAddr64(): GetLastError = 487
0: SymGetSymFromAddr64(): GetLastError = 487
0: SymGetSymFromAddr64(): GetLastError = 487
0: SymGetSymFromAddr64(): GetLastError = 487
0: SymGetSymFromAddr64(): GetLastError = 487
0: SymGetSymFromAddr64(): GetLastError = 487
0: SymGetSymFromAddr64(): GetLastError = 487
0: SymGetSymFromAddr64(): GetLastError = 487
BaseThreadInitThunk
RtlSubscribeWnfStateChangeNotification
RtlSubscribeWnfStateChangeNotification


And the error_trace file:

VER:10000 BUILD:10009
PLATFORM: WINDOWS
CPU String: AuthenticAMD
Model = 2
Family = 15
Extended family = 6
CLFLUSH cache line size = 64
APIC Physical ID = 3
CPU Brand String: AMD FX(tm)-8320 Eight-Core Processor
Cache Size = 2048K
Found DirectX Version Number: 4.09.00.0904
Creating Device.....
MonkeyInitStart
MIS: Found DD
MIS: IsHW
MIS: SetCoop
MIS: Setting Disp Mode
MIS: Done Init 3D Device
MIS: Tex Enum
MIS: SDRS
MIS: Init Decal Render
TS: Start
TS: IAPSent
TS: UILoaded
INITIAL LOAD 1453
TS: BattleObj
TS: Managers
TS: BFBB
TS: LT
TS: InitDLUI
TS: Messages
TS: Ended
Playing as: 0
SIDE 0
Playing as: 0
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
SIDE 0
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
**WARNING**:GetCampaignVar Unknown var name: HERO_TYPE
Rebuilding the Device....
SUCCESS!!!! Rebuilding the Device....
Rebuilding the Device....
SUCCESS!!!! Rebuilding the Device....
Rebuilding the Device....
SUCCESS!!!! Rebuilding the Device....
Rebuilding the Device....
SUCCESS!!!! Rebuilding the Device....
Rebuilding the Device....
SUCCESS!!!! Rebuilding the Device....
Rebuilding the Device....
SUCCESS!!!! Rebuilding the Device....
Rebuilding the Device....
SUCCESS!!!! Rebuilding the Device....
Playing as: 0
**WARNING**:GetEditorData Invalid unit: 0
**WARNING**:GetEditorData Invalid unit: 1
**WARNING**:GetEditorData Invalid unit: 2
**WARNING**:GetEditorData Invalid unit: 3
**WARNING**:GetEditorData Invalid unit: 4
**WARNING**:GetEditorData Invalid unit: 5
**WARNING**:GetEditorData Invalid unit: 6
**WARNING**:GetEditorData Invalid unit: 7
**WARNING**:GetEditorData Invalid unit: 8
**WARNING**:GetEditorData Invalid unit: 9
**WARNING**:GetEditorData Invalid unit: 10
**WARNING**:GetEditorData Invalid unit: 11
**WARNING**:GetEditorData Invalid unit: 12
**WARNING**:GetEditorData Invalid unit: 13
**WARNING**:GetEditorData Invalid unit: 14
**WARNING**:GetEditorData Invalid unit: 15
**WARNING**:GetEditorData Invalid unit: 16
**WARNING**:GetEditorData Invalid unit: 0
**WARNING**:GetEditorData Invalid unit: 1
**WARNING**:GetEditorData Invalid unit: 2
**WARNING**:GetEditorData Invalid unit: 3
**WARNING**:GetEditorData Invalid unit: 4
**WARNING**:GetEditorData Invalid unit: 5
**WARNING**:GetEditorData Invalid unit: 6
**WARNING**:GetEditorData Invalid unit: 7
**WARNING**:GetEditorData Invalid unit: 8
**WARNING**:GetEditorData Invalid unit: 9
**WARNING**:GetEditorData Invalid unit: 10
**WARNING**:GetEditorData Invalid unit: 11
**WARNING**:GetEditorData Invalid unit: 12
**WARNING**:GetEditorData Invalid unit: 13
**WARNING**:GetEditorData Invalid unit: 14
**WARNING**:GetEditorData Invalid unit: 15
**WARNING**:GetEditorData Invalid unit: 16


Can I fix this on my end?

Thanks!

Re: Error: Unhandled Exception!

Posted: Tue Mar 14, 2017 6:38 pm
by pipfromslitherine
Can you send me the offending map pls.

Cheers

Pip

Re: Error: Unhandled Exception!

Posted: Tue Mar 14, 2017 9:13 pm
by Jackisath
I'm not 100% sure which file you want so I zipped up the whole folder. Let me know if you'd like it in another format or which file it is.

Thank you!

Re: Error: Unhandled Exception!

Posted: Wed Mar 29, 2017 12:55 am
by Jackisath
I take the no reply in weeks to mean there's no solution?

Re: Error: Unhandled Exception!

Posted: Wed Mar 29, 2017 2:56 pm
by pipfromslitherine
My apologies. I missed the post. I will take a look now.

Cheers

Pip

Re: Error: Unhandled Exception!

Posted: Wed Mar 29, 2017 3:01 pm
by pipfromslitherine
It seems to run fine for me - where were you seeing the crash?

Cheers

Pip

Re: Error: Unhandled Exception!

Posted: Wed Mar 29, 2017 3:07 pm
by pipfromslitherine
Scratch that. It does indeed break using the live version on Steam (I was testing on my current build, so I guess it is fixed at our end now!). I will work out what is happening.

Cheers

Pip

Re: Error: Unhandled Exception!

Posted: Wed Mar 29, 2017 3:40 pm
by pipfromslitherine
OK, so there is a bug in one of the internal scripts which causes a crash when the abilities are not set up. We will fix the script for the next update. For now you should be able to fix it by creating a DATA/BATTLE/SCRIPTS folder in your campaign. Copy the ABILITYHELPERS.BSF file from the DATA/UI folder in your install. Then open your version and change line 1369 from

return 0 ;

to

return "" ;

And it should work!

I would also recommend copying in the VAR lines from one of the existing campaign.txt files (inside the campaigns) to your campaign.txt file, as they are used to track abilities etc.

Sorry for the hassles!

Cheers

Pip

Re: Error: Unhandled Exception!

Posted: Thu Mar 30, 2017 1:47 am
by Jackisath
Thank you! I will try this when I get home tonight.