Jump to content


Photo

An Assertion failed in ObjCreature.cpp at line number... - help?


  • Please log in to reply
5 replies to this topic

#1 DC0

DC0
  • Member
  • 10 posts

Posted 28 August 2026 - 07:33 AM

Hi. I’ve installed Baldur's Gate The Original Saga + Baldur's Gate 2 Complete (GOG versions) with Baldur's Gate Trilogy using BiG World Project. Fine installer! Thanks to author.
 
Game didn’t work at first attempt. But then I’ve delved into ReadMe files, shortened list of mods I’d like to play, and game seemed to work fine. Until recently. When trying to enter Peldvale (AR8900) I get error message: An Assertion failed in ObjCreature.cpp at line number 12349.
 
I can’t find this file in game directory (\BGII - SoA\). I think it is a file with all creatures in a game?
I tried opening CRE file with ShadowKeeper. But it doesn’t have line numbers.
 
Interesting enough, in my previous test walkthrough (like a week before this message) I got into that area just fine.
I can’t understand what changed. Maybe party composition?
 
I’ll appreciate any help in solving this problem.
 
 
 
By using the tool Area CRE Checker I was able to pinpoint the problem: creature vicony4 (Viconia) causes the problem. According to Area CRE Checker in my ar8900.bcs there are several Viconias:
 
 

File    CRE    Name    Animation    AnimName    AnimType
ar8900.bcs    viconi    Viconia    cefb1a6.bam    cleric_female_elf    bg2_character
ar8900.bcs    viconi4    Viconia    cefb1a6.bam    cleric_female_elf    bg2_character
ar8900.bcs    viconi61    Viconia    cefb1a6.bam    cleric_female_elf    bg2_character


I guess each of them was placed by different mod.
 
I have AR8900.bcs in following locations of my install:

d:\BGII - SoA\bg1npc\backup\10\AR8900.bcs
d:\BGII - SoA\CtB\over.bak\ar8900.bcs
d:\BGII - SoA\ntotsc\backup\9\AR8900.bcs
d:\BGII - SoA\override\AR8900.bcs


Should I now try different versions of the file and find if any works? Or it will break the save game files?


Edited by skellytz, 29 August 2026 - 09:13 AM.
double posting


#2 skellytz

skellytz
  • Staff
  • 698 posts

Posted 29 August 2026 - 09:19 AM

Please attach your WeiDU log.
 

And there is really no folder called BGT in my install. Though I do have BGT installed with BiG World Project.

From your other post, if the BGT folder isn't in the BG2 directory, something has probably gone wrong.



#3 DC0

DC0
  • Member
  • 10 posts

Posted 29 August 2026 - 01:28 PM

Should I now try different versions of the file and find if any works? Or it will break the save game files?

Tried this. Didn't help.
 

Please attach your WeiDU log.

Spoiler


Edited by skellytz, 29 August 2026 - 06:29 PM.
double posting, WeiDU log in spoiler


#4 skellytz

skellytz
  • Staff
  • 698 posts

Posted 29 August 2026 - 06:22 PM

BGT/BGT.TP2~ #0 #0 // ?????? -> : ???

This could be a problem, e.g. an incompatible WeiDU version, during the installation. Make sure you use WeiDU v249 for all mods. You should also biff the files at the end for better performance.



#5 DC0

DC0
  • Member
  • 10 posts

Posted 29 August 2026 - 11:10 PM

Make sure you use WeiDU v249 for all mods.

Thank you.

 

I've downloaded it from github. Windows Defender finds Trojan:Win32/Pomal!rfn  :wall:  Release v251 also has Trojan:Win32/Suschil!rfn :ermm:

 

There is newer version v252.01-nightly-fc5a92f without any trojan. Can I use it?

 

Also, I found that BiG World Project comes with it's own weidu-64-246.exe in Utils folder. Will it override?

Should I install newer version of WeiDU after I extract BiG-World packs to game folder?

 

Should I make complete re-install of the game with mods from scratch now? Will save file work?
 

I just checked version of :\BGII - SoA\weidu.exe : file version 249.0.0.0  :shifty: 


Edited by DC0, 29 August 2026 - 11:40 PM.


#6 skellytz

skellytz
  • Staff
  • 698 posts

Posted 31 August 2026 - 05:08 AM

I've downloaded it from github. Windows Defender finds Trojan:Win32/Pomal!rfn  :wall:  Release v251 also has Trojan:Win32/Suschil!rfn :ermm:

That's a false positive.

 

There is newer version v252.01-nightly-fc5a92f without any trojan. Can I use it?

There are some known issues with newer versions. Please use v249 for now.

 

Should I install newer version of WeiDU after I extract BiG-World packs to game folder?

Get the amd64 version and extract weidu.exe into your BG2 directory. Then, rename weidu.exe to setup-weidu.exe so it can later auto-update other WeiDU installers. Next, run the BWP installer. Finally, biff the files with Generalized Biffing (if BWP doesn't do it for you).

 

I'm not sure, but BWP may also try to launch mod setup with auto-updates disabled. In any case, the question marks in WeiDU log often mean an outdated WeiDU installer was used at some point. So check if this time the BGT folder is in your BG2 directory. BGT should also be correctly shown in the WeiDU log, without the question marks.

 

Should I make complete re-install of the game with mods from scratch now? Will save file work?

I'd do that. Your current saves should work.

 

According to Area CRE Checker in my ar8900.bcs there are several Viconias.

That's because a different variant is supposed to spawn based on your character's level.

 

When trying to enter Peldvale (AR8900) I get error message: An Assertion failed in ObjCreature.cpp at line number 12349.

This kind of an error indicates problems with loading a creature file. This particular one is probably caused by an invalid spell file reference (described and solved here).

 

Installers like BWP have been outdated for several years. There may be other issues later on.


Edited by skellytz, 31 August 2026 - 09:18 AM.