Page 1 of 2 12 LastLast
Results 1 to 20 of 21

Thread: Invalid unit type CTD

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Invalid unit type CTD

    Hi all,

    first I want to say thanks to the team for SS for creating such an awesome (and free) addition to a great game.
    Anyhow, I am having frequent CTDs after about turn 280 with my current save game. The log is attached (wouldn't let me post it for some reason?).

    As you can see there are many many "invalid unit" and "non-existent unit" errors there. This only happens during battle (world map is stable). Sometimes I can play a battle the whole way through, sometimes it will stutter (when it is having those errors I assume) and make it through, but others it will crash completely.
    I have tried deleting TW:M2, Kingdoms and SS and re-installing them all, but am still having the same issues.

    Any help would be much appreciated!

    Cheers.
    Attached Files Attached Files

  2. #2
    valky's Avatar Ducenarius
    Join Date
    Dec 2009
    Location
    Germany
    Posts
    967

    Default Re: Invalid unit type CTD

    Can you attach the savegame then? Much easier to check...
    Else the errors in yours are 'quite' normal or you could enable the high-detail log. (http://www.twcenter.net/forums/showt...=1#post8771427)

    And if battles are only affected: Have you installed or updated RBAI and using the battle crash fix, which can be enabled in the setup? Often solves a lot of issues.
    I'm Commander Shepard and this is my favourite store on the Citadel!
    I'm Garrus Vakarian and this is now my favourite spot on the Citadel!

    Better ingame Encyclopedia for Shogun 2 (reworked) - RotS - FotS (new map) + web-based version

  3. #3

    Default Re: Invalid unit type CTD

    Hi, savegame can be attained from link below. Tried attaching it to this post but was having major issues...

    https://www.dropbox.com/s/zv2zgbpepfu06pu/Autosave.sav

    From this save if you finsh the turn, two battles will happen. If you fight the first one (defending a seige assualt) it will be fine. If you retreat on the second one and then fight on the battle map when the offensive army attacks again, I get a CTD every time, only about 2 minutes into the battle.

    I have tried the RBAI patch but it has not seemed to improve things...

    Any help much appreciated!

    Cheers.

  4. #4
    valky's Avatar Ducenarius
    Join Date
    Dec 2009
    Location
    Germany
    Posts
    967

    Default Re: Invalid unit type CTD

    FUBAR!

    same thing happens to me, crashes for no obvious reason. Tried several different placements, cause I thought of a pathing issue, if you are on the hill, but with no success. Just happens every time roughly after 2 minutes. According the log, there also ain't no script fired, which could trigger an error.
    Am pretty much clueless as well.

    (on a sidenote, is it even possible to win this battle ^^? While you seem to love mangonels as much as I do, if they won't properly hit, the AI just r*pes you with his full stacks of cavalry)

    attached the log just in case too. (first battle was auto-resolved, cause it takes to much time to fight it every time)
    Attached Files Attached Files
    I'm Commander Shepard and this is my favourite store on the Citadel!
    I'm Garrus Vakarian and this is now my favourite spot on the Citadel!

    Better ingame Encyclopedia for Shogun 2 (reworked) - RotS - FotS (new map) + web-based version

  5. #5

    Default Re: Invalid unit type CTD

    Dang, well at least I know I don't have a bad install or something if it is happening to you too! I really appreciate you having a look at that.
    Yeah I am mad for mangonels, I don't know if I could win cause it keeps crashing, but I think with the spear militia it could be done...
    Thanks again for looking into it. To solve it I just moved that army before I ended the turn, that at least saves my army from what would be a no doubt disastrous auto resolve.

  6. #6

    Default Re: Invalid unit type CTD

    OK, so it is definitely something to do with the Duchy of Kiev, I'm pretty sure it is only happening when I battle them....

  7. #7

    Default Re: Invalid unit type CTD

    Correction, just happened in a battle against the Fatimid Caliphate, so not just a Duchy problem. No idea what is happening...

  8. #8
    paleologos's Avatar You need burrito love!!
    Join Date
    Feb 2011
    Location
    Variable
    Posts
    8,431

    Default Re: Invalid unit type CTD

    Did you try the same battle without the mangonels?

  9. #9

    Default Re: Invalid unit type CTD

    No I haven't, are mangonels known to cause crashing issues?

  10. #10
    paleologos's Avatar You need burrito love!!
    Join Date
    Feb 2011
    Location
    Variable
    Posts
    8,431

    Default Re: Invalid unit type CTD

    Quote Originally Posted by hcpe View Post
    No I haven't, are mangonels known to cause crashing issues?
    I am not a prophet.
    At this point we can only speculate and test.
    Your log message mentioned an "unspecified error".
    I get "unspecified error" messages for unit related crashes.
    Try the battle without mangonels and let us know.

  11. #11
    valky's Avatar Ducenarius
    Join Date
    Dec 2009
    Location
    Germany
    Posts
    967

    Default Re: Invalid unit type CTD

    That'd be news to me too?! Cause I usually have 2-3 mangonels to each army attached, and never had any trouble.
    Anf if you had the same issue against Fatamid, than one of your own units must be the cause; else Kiev and Fatamid have a different roster. (and I suspected the hvy boyars at first, but maybe it's a ranged unit issue at all?)
    I'm Commander Shepard and this is my favourite store on the Citadel!
    I'm Garrus Vakarian and this is now my favourite spot on the Citadel!

    Better ingame Encyclopedia for Shogun 2 (reworked) - RotS - FotS (new map) + web-based version

  12. #12
    Navajo Joe's Avatar SS Forum Moderator
    Join Date
    May 2008
    Location
    England
    Posts
    4,182

    Default Re: Invalid unit type CTD

    You could try switching off the Anti-Aliasing in the MTW2 Game Options





    'Proud to be patronised by cedric37(My Father and My Guardian)

  13. #13
    paleologos's Avatar You need burrito love!!
    Join Date
    Feb 2011
    Location
    Variable
    Posts
    8,431

    Default Re: Invalid unit type CTD

    Quote Originally Posted by Navajo Joe View Post
    You could try switching off the Anti-Aliasing in the MTW2 Game Options
    @ hcpe:

    Try what Navajo Joe recommends first.
    If it doesn' t fix it then consider the chance that a unit comes into play as reinforcements that is not properly debugged.
    I wonder if people who only play SS 6.1 have similar CTDs.

  14. #14
    valky's Avatar Ducenarius
    Join Date
    Dec 2009
    Location
    Germany
    Posts
    967

    Default Re: Invalid unit type CTD

    I doubt AA is at fault, we both had a predictable crash on 2 different machines after a certain time. I replayed the battle 3times with the same result.
    My ingame AA is even disabled, cause I use an external modification (currently testing FXAA).
    I tend to crash more often with uber-high settings, though ^^ but more or less in epic battles with lotso units.

    YES! Cause I couldn't let it go and tried some weird stuff: deleted Trebuchet & bombard, cause I expected some aiming issue and voilá it worked! I might wanna check further, if that is really the problem and might test it with either one of those deleted

    proof: (darn and I thought the hvy boyars would r*pe me ^^)
    Spoiler Alert, click show to read: 


    I'm Commander Shepard and this is my favourite store on the Citadel!
    I'm Garrus Vakarian and this is now my favourite spot on the Citadel!

    Better ingame Encyclopedia for Shogun 2 (reworked) - RotS - FotS (new map) + web-based version

  15. #15

    Default Re: Invalid unit type CTD

    Well now I don't know what to think! I disabled AA and I haven't had a crash since... That being said I haven't tested that same battle again, but haven't had any other issues using mangonels and cannons in other battles.

  16. #16

    Default Re: Invalid unit type CTD

    OK, well that was short lived. Crashed again, but there is no denying turning off AA made it more stable. So it must be the mangonels and bombards. Not sure what to do about that though, not sure I could live without my mangonels...

  17. #17

    Default Re: Invalid unit type CTD

    Well things have from tolerably unstable to completely crashing at end of turn now. I have uploaded the savegame if anyone cares to check it out:

    https://www.dropbox.com/s/bn247i0p0w...Autosave_2.sav

    If you just hit end of turn on that save and auto-resolve all battles (or even fight them, but it doesn't seem to make any difference) then the program crashes every time when it gets to calculating the last 1 or 2 factions. I have tried several different changes in behaviour leading up to this end of turn, but every time it has resulted in a crash. Any help would be much appreciated, as this has definitely put the breaks on my campaign. Cheers!

  18. #18
    valky's Avatar Ducenarius
    Join Date
    Dec 2009
    Location
    Germany
    Posts
    967

    Default Re: Invalid unit type CTD

    might give it a try on the weekend.
    But as my 5 core armies currently have 3 mangonels attached and I fought several huge battles with no problems, it's most likely or possibly the bombard. Even if it doesn't really make sense at all.
    Though I lowered the AA resolution in my tool now, as I experienced more random battle-crashes as usual and it was maxed out :> I might be even switch back to the basic ingame settings and skip the tool, cause I haven't had that many issues with the weird and plain AA ingame settings.

    Hmm, what CPU do you have? Not sure if it might also help to unlock the memory-restriction the game currently uses, as mine goes up to 3GB usage or beyond, but without it's limited to only 2GB,thanks to the new textures, specially with AA.
    I'm Commander Shepard and this is my favourite store on the Citadel!
    I'm Garrus Vakarian and this is now my favourite spot on the Citadel!

    Better ingame Encyclopedia for Shogun 2 (reworked) - RotS - FotS (new map) + web-based version

  19. #19

    Default Re: Invalid unit type CTD

    I am running on the below system:

    CPU: i7 3770K
    RAM: 16GB
    GPU: 7950 3GB

    How do I increase the amount of RAM available to the program? I wasn't aware you could do that...
    Does anyone know if there is a tool or something available to inspect/repair savegames? I get the feeling that there is something amiss with my save and it is going to crash at the end of turn no matter what...

    Thanks for your continued interest/input Valky.

  20. #20

    Default Re: Invalid unit type CTD

    Oh and here is the detailed system log for the end of turn CTD. It seems to be happening on the Rebel faction, but it may just be that something is happening after the faction turns and that is crashing it. I am not too sure how to read this error log to be honest!

    https://www.dropbox.com/s/nwo2w9mf9l...system.log.txt

    Cheers.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •