[Unsolved] JobDriver threw exception in initAction

Started by Leeman, March 16, 2015, 01:35:05 PM

Previous topic - Next topic

Leeman

Hey guys,

currently working on my first mod. And I found a bug after I released it already sadly and this one is kinda major.
If someone tries to deconstruct the grave it says

http://i.imgur.com/tSE8agw.png

And I have no Idea what is causing that. If anyone could help me would be great. I have the xml and the sourcecode here in a gist for you so you can have a look if needed

https://gist.github.com/anonymous/e1a2d761f15139f3c659

Edit:

I don't know why this happened and I do not know how my solution fixed it. But all I did was, that I added

        public override void Destroy(DestroyMode mode = DestroyMode.Vanish)
        {

            base.Destroy(mode);
        }


Into the classes. I did first some more stuff in there, thats why I added it. And then I started stripping it down as it was quite overloaded and realised that alone helped.

So not sure what exactly the cause was. But that fixed it so I am not going after it (for now)

Edit2: Actually not fixed. It still happens randomly. Not sure what's causing it :/