Ludeon Forums

RimWorld => Mods => Mod bugs => Topic started by: rofinex on October 07, 2016, 07:48:04 AM

Title: [A15] Weird graphic bug
Post by: rofinex on October 07, 2016, 07:48:04 AM
Greetings.
I dont know which mods cause this, i added few new mods a day ago and this happened. (see attachment bug1.png). Game was running normally when that suddenly happened.
Luckily, when i load autosave it works, but then new errors showed up on debug window (bug2.png).
Anyone can help me which cause this?
Thanks before.
Lists of mods used :

<gameVersion>0.15.1284 rev902</gameVersion>
<modIds>
<li>Core</li>
<li>Del's Grass and Bush Drop</li>
<li>More Factions Spawn A15</li>
<li>Izzyssentials Core</li>
<li>Miscellaneous_Core</li>
<li>ED-CheatReactor</li>
<li>[15A] Hyperthermia</li>
<li>[15A] Hoarfrost</li>
<li>Vegetable Garden</li>
<li>Ushanka15_0</li>
<li>Turrets+</li>
<li>Training Rack</li>
<li>TradingSpot</li>
<li>TilledSoil</li>
<li>Temperature Control</li>
<li>TechAdvancing</li>
<li>TargetPractise</li>
<li>StorageSearch-0.15.0</li>
<li>Stonecutting Tweak</li>
<li>SteelExtraction</li>
<li>sd_pillowsCo</li>
<li>RW_ColonistBarKF-0.15.2</li>
<li>RT_SolarFlareShield-A15-1.0.5</li>
<li>RT_Fuse-A15-1.0.2</li>
<li>RIMkea</li>
<li>Recycle</li>
<li>Raindrops</li>
<li>Quorn</li>
<li>QualityBuilder</li>
<li>PetFollow</li>
<li>OmniLocator</li>
<li>More Furniture</li>
<li>Miscellaneous_Robots</li>
<li>Miscellaneous_BeeAndHoney</li>
<li>Misc. Robots++</li>
<li>MiningShaft</li>
<li>MiningShaft-StoneAddon</li>
<li>Miniaturisation</li>
<li>MetroArmory15_2</li>
<li>Mending</li>
<li>MeleeHunting</li>
<li>MedicineKitCrafting</li>
<li>Medical Training</li>
<li>LT_DoorMat</li>
<li>Less-Rebuff</li>
<li>JTWeRAnimals</li>
<li>JTSavagePrisoners</li>
<li>JTSarcophagus</li>
<li>JTOrbital</li>
<li>JTMeleeXP</li>
<li>JTMedicinePlus</li>
<li>JTCampfireCremate</li>
<li>JTBetterShipReactor</li>
<li>JTBetterCrashedShips</li>
<li>Jecrell - Tobacco &amp; Cigarettes</li>
<li>Izzyssentials Furniture</li>
<li>Izzyssentials Lights</li>
<li>Infused</li>
<li>Imperial Guard Core Mod</li>
<li>Hedgehogs</li>
<li>Heavy defences mod</li>
<li>HaulITCleanIT</li>
<li>FluffierThanThou-RW_Manager-ae03913</li>
<li>FluffierThanThou-RW_Blueprints-9cbe574</li>
<li>FloorEquality</li>
<li>FashionRIMsta</li>
<li>Expanded Prosthetics &amp; Organ Engineering</li>
<li>Enlighten</li>
<li>Embrasures</li>
<li>EdBPrepareCarefully</li>
<li>ED-ShieldsBasic</li>
<li>ED-PersonalNanoShields</li>
<li>DESurgeries</li>
<li>CPHaulage</li>
<li>Imperial Guard Deep Core Miner Addon</li>
<li>CK_AnimalPlant_Pack-master</li>
<li>CheaperComponents</li>
<li>Better Pathfinding</li>
<li>Barn Stall V1.0 A15</li>
<li>Badger Badger Badger Mod!</li>
<li>AnimalHideWorking</li>
<li>AllowTool</li>
<li>A 15 Talons V1.3</li>
<li>TrueMods - full 05.10.2016</li>
<li>Clutter Structure</li>
<li>static_quality_plus_A15.1</li>
<li>Imperial Guard No Hats Addon</li>
<li>RW_FacialStuff-0.15.2</li>


[attachment deleted by admin - too old]
Title: Re: [A15] Weird graphic bug
Post by: skullywag on October 07, 2016, 08:27:24 AM
This is usually caused by a modder not following this:

https://ludeon.com/forums/index.php?topic=19499.0

I had a report in the bug section the other day where we went through and found all the mods that had this issue and let the modders in question know, im gonna guess that more of them are doing this wrong. Youll need to turn off mods until the problem goes away or something and let that modder know.
Title: Re: [A15] Weird graphic bug
Post by: Valeron on October 07, 2016, 09:48:23 AM
Hi, I get the same error/bug as rofinex and one more. I will describe my situation:
Last time I added new mod is few days and mabye 10 hours of playing rimworld back. So it is not like I added a mod and the error/bug happened immediately (list of my mods is bellow - the bug shown after adding 4 TrueMods and Hospitality). But I did not started new colony, when I added this mods.

Firstly i got this type of error (and tha graphic went the same way as in rofinex case):

InvalidCastException: Cannot cast from source type to destination type.
  at RimWorld.PowerConnectionMaker+<PotentialConnectorsForTransmitter>c__IteratorA7.MoveNext () [0x00000] in <filename unknown>:0
  at RimWorld.PowerConnectionMaker.ConnectAllConnectorsToTransmitter (RimWorld.CompPower newTransmitter) [0x00000] in <filename unknown>:0
  at RimWorld.PowerNetManager.TryCreateNetAt (IntVec3 cell) [0x00000] in <filename unknown>:0
  at RimWorld.PowerNetManager.UpdatePowerNetsAndConnections_First () [0x00000] in <filename unknown>:0
  at Verse.Map.MapUpdate () [0x00000] in <filename unknown>:0
  at Verse.Game.Update () [0x00000] in <filename unknown>:0
  at Verse.RootMap.Update () [0x00000] in <filename unknown>:0

(Filename:  Line: -1)

It happened when my pawn switch power switch. But not for the first time after adding mods or loading the game - I tried to order pawns switch more power switches on/off if this happend every second, third switch but i was not able to found any rule (sometimes it was 7 or 3 or 12 and switches were also different)
So i tried to get rid of all power switches - this bug did not happen again.
But instead happened same error as in rofinex case (bug1.png). I tried to relocate all my power conduicts to different places - into wals, not in to wals, no battery, only geothermal/wind turbine/solar source of power - nothing help...

My Mods (in order of how I added them and also in the same order they are loaded - the bug shown after adding 4 TrueMods and Hospitality):
Core, QualityBuilder, Wandering Caravans [v1.1.3], Wildlife Tab, Trading Spot, Map Reroll, Allow Tool, Reasonable Lamps, Trap Defence V1.1, More Vanilla Turrets, Less Rebuff, Mad Skills - Tiered, Expanded Prosthetics & Organ Engineering, Glitter Tech (No Surgery), Tilled Soil, Auto Seller, More Furniture, Vegetable Garden , [T] ExpandedCloth, [T] ExpandedCrops, [T] MoreBedsCloth, [T] MoreFloors, Practise Target, Stonecutting Tweak, Fences, Better Pathfinding, TrueMods - caltrops, TrueMods - cloth sandbags, TrueMods - multi-analyzer resources mod, TrueMods - no medicine for hospital bed, TrueMods - vitals monitor resources mod, Hospitality A15

skullywag:
can you give a link to your report? (i tried to find it but was not succesfull)

Im not progrramer/modder so i tried to describe my problem best i could (and english is not my native language).
Title: Re: [A15] Weird graphic bug
Post by: rofinex on October 07, 2016, 03:56:30 PM
ahhhh thank you very much @skullywag  for the links and infos :D
well i just read my output_log , it was 250+MB (is it normal?) , and so i can conclude (maybe XD) my problems caused by ,
-too many mods (more than 2) using same "variable name", on my case it's smoke leaf, power armor, combat assault.
- some error on one mod that i recently used.
Also, i get this line a lot, "ColonistBarKFInjector - needs reinject" , what does it mean?
And, after some lines, it becomes "null texture passed to GUI.DrawTexture" for 99999999999 lines before the conduit thing happen XDD .
Thank you again !! , gotta be careful and read the codes from now on :p
Title: Re: [A15] Weird graphic bug
Post by: Zerohope on October 07, 2016, 06:33:34 PM
The mod that causes that is True mods - essential - full...
Had the same problem as it also tends to corrupt the save files i wasnt able to find out what caused it last time. This time i have a safe file where i was able to load.
The item that causes the problem in detail is the multi-analyzer.
As soon as you build one you cant set a powerconduit next to a wall or the funny colors are haunting you...

Only found out after about 20 times loading the game as i didnt know why the bug happend when i placed a powerconduit next to a wall and when someone finishs building it bam.
So i tested it with thing like what happens when i put a power conduit just somewhere in th wild, attach it to my powergrid and so on.
Next i loaded again and tried to find out what happened before (the game run perfectly before without problems.)
I had the multi-analyzer in wait to be build... (also as soon as its build and you safe... well say goodbye to the safe file...)
so this time i aboarted that hellspawn of a analyzer... and tried the powercondoit stuf again... no crash no nothing just a working game....
Hope it helped you a bit as i solved my problem around 5 mins ago now...

Title: Re: [A15] Weird graphic bug
Post by: Valeron on October 08, 2016, 04:50:19 AM
Zerohope:
Thanx for your explanation!!
Actualy yesterdy evening I figure out myself that the problem is with multianalyzer because in my game I was just building it and when it was done the problems started. So i disable that mod, played for 2 hours with no problem (partly rewired my power conduits), but suddenly graphic went wrong again (same error, save file corrupted and because I play permadeth I must use the 2 hours old file from my back up). And i think, that in the 2 hours period I built some power conduits next to wals, for sure in wals...
But now i try to deconstruct the multianalyzer which was build with True mod recepie and construct it again without this mod...
I will let you now if it will help
Title: Re: [A15] Weird graphic bug
Post by: crusader2010 on October 09, 2016, 04:55:35 AM
Thank you guys! I managed to save a save (LOL) by removing every section containing "MultiAnalyzer" from the saved game (except the first one, with the research options)!! Also removed the defs related to the multianalyzer from the "TrueMods" mod beforehand. Testing to see what will happen if I build it again now :)
Title: Re: [A15] Weird graphic bug
Post by: Valeron on October 09, 2016, 10:24:20 AM
And there is also problem vith Vital Monitor from the same mod pack - dont use them. Creator of the mod is aware of this problem, for more see first page of his True Mod topic
https://ludeon.com/forums/index.php?topic=26249.0