Stackoverflow exception Tools.GameObjectHardFind
Posted: Sat Apr 16, 2016 8:55 am
After I call DialogueManager.StartConversation("name_conversation") I get the following error:
For some reason this does not seem to happen on all pc's I've tested on. So far it only happened on 2 out of 4 (windows 7 and windows 10 if that matters).
I tried redownloading the repository I'm working on because it is perfectly working for my collegue and I still get this error.
The conversation I want to start is just a regular conversation with no special scripts or anything going on. (I also switched out the conversation with another one and I get the same problem). On the 4 laptop I tested on (Windows 7 x64, clean install) it worked once when I downloaded the project to a new folder, so completely clean, but when I restarted the game (and Unity) it crashes again.
Is there anything I can do to prevent this issue, or what could be the problem I'm facing here? I checked the method in the code and it should return null when the object it's trying to find is not in the scene but that does not seem to happen.
Code: Select all
StackOverflowException
PixelCrushers.DialogueSystem.Tools.GameObjectHardFind (UnityEngine.GameObject item, System.String str, Int32 index)
PixelCrushers.DialogueSystem.Tools.GameObjectHardFind (UnityEngine.GameObject item, System.String str, Int32 index)
PixelCrushers.DialogueSystem.Tools.GameObjectHardFind (UnityEngine.GameObject item, System.String str, Int32 index)
PixelCrushers.DialogueSystem.Tools.GameObjectHardFind (UnityEngine.GameObject item, System.String str, Int32 index)
PixelCrushers.DialogueSystem.Tools.GameObjectHardFind (UnityEngine.GameObject item, System.String str, Int32 index)
*goes on forever*
I tried redownloading the repository I'm working on because it is perfectly working for my collegue and I still get this error.
The conversation I want to start is just a regular conversation with no special scripts or anything going on. (I also switched out the conversation with another one and I get the same problem). On the 4 laptop I tested on (Windows 7 x64, clean install) it worked once when I downloaded the project to a new folder, so completely clean, but when I restarted the game (and Unity) it crashes again.
Is there anything I can do to prevent this issue, or what could be the problem I'm facing here? I checked the method in the code and it should return null when the object it's trying to find is not in the scene but that does not seem to happen.