Hi,
Quest Tracker stopped working - I don't know why. I've switched recently to Unity 5.2.2, but I don't think it's the case. I've noticed that when I run the game, the Quest Track Template field of Unity UI Quest Tracker turns empty - and sometimes, not always, there appears an error message telling that the game wants to reference the object in this field, but it was destroyed. Thanks in advance!
Best
Quest Track stopped working
Re: Quest Track stopped working
Does the quest tracker work in the example scenes in Examples/Unity UI Examples? To test it, you'll have to talk to Private Hart to pick up the "Assassinate the Emperor" quest.
Do the quest tracker prefabs work? (Try removing your quest tracker and adding one of the prefabs to the scene. You may need to hook it up with the player's Unity UI Selector Display; or just leave Unity UI Selector Display's fields blank to have it automatically find the tracker.)
In your Unity UI Quest Tracker, did you perhaps accidentally assign the template to the Container field? The Container field should be set to the panel that will contain quest instances (e.g., "Vertical Group").
Please feel free to send an example project to tony (at) pixelcrushers.com if you get stuck. I'll be happy to take a look!
Do the quest tracker prefabs work? (Try removing your quest tracker and adding one of the prefabs to the scene. You may need to hook it up with the player's Unity UI Selector Display; or just leave Unity UI Selector Display's fields blank to have it automatically find the tracker.)
In your Unity UI Quest Tracker, did you perhaps accidentally assign the template to the Container field? The Container field should be set to the panel that will contain quest instances (e.g., "Vertical Group").
Please feel free to send an example project to tony (at) pixelcrushers.com if you get stuck. I'll be happy to take a look!
Re: Quest Track stopped working
Hi,
No, the example scenes don't work - I mean I can talk, take quest, but the hud does not update. Also, disabling my hud tracker and adding a new one from prefab (Generic Unity UI Quest Tracker HUD), also didn't solve the problem. In the Container field of the quest tracker there was Vertical Group. Any idea how to fix that?
Best!
No, the example scenes don't work - I mean I can talk, take quest, but the hud does not update. Also, disabling my hud tracker and adding a new one from prefab (Generic Unity UI Quest Tracker HUD), also didn't solve the problem. In the Container field of the quest tracker there was Vertical Group. Any idea how to fix that?
Best!
Re: Quest Track stopped working
Did you play the generic UI example scene and talk to Private Hart? You need to progress through the conversation until Hart says something about a hundred of innocent civilians in the hangar with the Emperor. When you end the conversation after this point, this should happen:
- An alert message about a new quest.
- The quest tracker HUD should show "Assassinate the Emperor".
- If you open the quest log window, you should see the quest.
Re: Quest Track stopped working
I don't know, but maybe it is related to an error I just spotted:
NullReferenceException: Object reference not set to an instance of an object
UnityEngine.UI.Graphic.OnRebuildRequested () (at C:/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/UI/Core/Graphic.cs:454)
UnityEngine.UI.GraphicRebuildTracker.OnRebuildRequested () (at C:/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/UI/Core/GraphicRebuildTracker.cs:33)
UnityEngine.CanvasRenderer.RequestRefresh () (at C:/buildslave/unity/build/artifacts/generated/common/modules/CanvasRendererBindings.gen.cs:332)
NullReferenceException: Object reference not set to an instance of an object
UnityEngine.UI.Graphic.OnRebuildRequested () (at C:/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/UI/Core/Graphic.cs:454)
UnityEngine.UI.GraphicRebuildTracker.OnRebuildRequested () (at C:/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/UI/Core/GraphicRebuildTracker.cs:33)
UnityEngine.CanvasRenderer.RequestRefresh () (at C:/buildslave/unity/build/artifacts/generated/common/modules/CanvasRendererBindings.gen.cs:332)
Re: Quest Track stopped working
Yes, I talked long enough to take the quest. I see the alert message, but the HUD is not updated. I'll try to update the Dialogue System to the latest version and will let you know.
Best!
Best!
Re: Quest Track stopped working
If that doesn't help, please send me an example project that demonstrates the issue. Thanks!
Re: Quest Track stopped working
Hi Tony,
I've managed to solve the issue. You were right about the scripts being corrupted - I replaced the scripts pertaining to quests with one coming from one of my backups. Now it all works as charm. It is a strange thing though, since I never modified them. Maybe my assembly got corrupted. Anyway, thank you for assistance!
Best
I've managed to solve the issue. You were right about the scripts being corrupted - I replaced the scripts pertaining to quests with one coming from one of my backups. Now it all works as charm. It is a strange thing though, since I never modified them. Maybe my assembly got corrupted. Anyway, thank you for assistance!
Best
Re: Quest Track stopped working
If you're working on the project with other teammates, maybe one of them accidentally edited the file. In any case, I'm glad it's working now!