[bug] A Conflict error/bug from my 2nd mod

Continuing the discussion from A bad mod plz HELPP:


I just released my SECOND mod for almost 1 day and when i release my 2nd mod. @VVolf commented that theres a error/bug in my mod. Here’s the error.


*Error Uncaught error. Please report this to support@greenheartgames.com:
Uncaught TypeError: Cannot read property ‘experience’ of null
(file:///C:/Program%20Files%20(x86)/Game%20Dev%20Tycoon/compressed/codeNw.js:1661)
Please restart the game.Enabled Mods:
[“gdt-modAPI”,“UltimateLib”,"ULTRAENGINERESEARCH *


ULTRAENGINERESEARCH is my 2nd mod. @tmch commented on @VVolf’s topic about my mod has a error.


@tmch - It’s actually code of the game which is erroring. Try a clean save game and see if it also works without that mod.


And @Jediwolf comment.


@Jediwolf - Moste UME mods that use anything other than Topics will crash the game, like mine. I am not sure.


Also @apljee


@apljee - @Jediwolf It’s not UME that’s causing it. I looked at the code, and as @tmch
said it’s an error caused on line 1661 of codeNw.js. It’s a GDT error, I
suppose. Although ULTRAENGINERESEARCH might be clashing with some code
into the main game, causing this little conflict. That’s my only guess.

NEXT LINE
@apljee - It doesn’t necessarily mean that - I’m just guessing that it might
be your mod, because gdt-modAPI is developed by GHG and obviously
wouldn’t cause errors now, all the sudden. UltimateLib might have bugs
but it still wouldn’t cause a game crash. And @LineLiar no, it doesn’t - it just adds engine researches.


I think thats it. Comment below if you just wanna help me debug this bug or it’s a UME Bug.


I moved a post to an existing topic: Official Mod Code Error Thread - For Mod Authors