0
Not a bug

Creating quest conditions bug

Dino Tobagin 5 months ago in Quests updated by Marti (Lead Developer) 5 months ago 1

When creating conditions for quests, I noticed that if I try the condition that compares a Variable(Any Type) and select Local Variable or a List Variable instead of Global, I am unable to actually set the GameObject property.

Unity version:
2018.4.22f1
Game Creator version:
1.1.7
Not a bug

This is because Quests are scriptable objects, and these cannot access scene objects. If you think about it, it makes sense: Quests have a project-wide scope, and have no idea which scene will be active at any given time, so it makes sense they can't store scene references. Otherwise you might be trying to access an object from a scene that hasn't been loaded yet.