Tony Li wrote: ↑Wed Jan 27, 2021 8:53 am
Hi,
I don't know if that's related to the integration or a setting in your project. If you'd like to get to the bottom of the error, please reproduce it and click on the error message in the Console window. Then press Ctrl+C (Cmd+C on Mac) to copy it to the clipboard, and paste it into a reply.
Order of integration and steps to reproduce error:
1. Create New Project
2. Import ORK
3. Import DS
4. Import DS-ORK integration
5. Import ORK Tutorial Files (Completed tutorial)
6. Use the 2 scenes provided in the integration folder instead of the ones in the ORK tutorial.
7. Add the scenes in build settings
8. Run Main Menu scene and click on new game
9. When Town scene is loaded you will get the error
Code: Select all
NullReferenceException: Object reference not set to an instance of an object
ORKFramework.CheckVariableBase.Check (System.String key, ORKFramework.VariableHandler handler) (at <fdbcec5ffff242b5aeb81435ada87c61>:0)
ORKFramework.CheckGameVariable.Check (ORKFramework.VariableHandler handler) (at <fdbcec5ffff242b5aeb81435ada87c61>:0)
ORKFramework.VariableCondition.CheckVariables (ORKFramework.VariableHandler handler) (at <fdbcec5ffff242b5aeb81435ada87c61>:0)
ORKFramework.VariableCondition.CheckVariables () (at <fdbcec5ffff242b5aeb81435ada87c61>:0)
ORKFramework.Behaviours.BaseConditionComponent.CheckVariables () (at <fdbcec5ffff242b5aeb81435ada87c61>:0)
ORKFramework.Behaviours.BaseConditionComponent.CheckConditions () (at <fdbcec5ffff242b5aeb81435ada87c61>:0)
ORKFramework.Behaviours.BaseConditionComponent.CheckAutoDestroy () (at <fdbcec5ffff242b5aeb81435ada87c61>:0)
ORKFramework.Behaviours.EventInteraction.Start () (at <fdbcec5ffff242b5aeb81435ada87c61>:0)
When i click on this error, NPC_blue is selected in the hierarchy and in the inspector it says "event file not found". When i get out of play mode and open the Town scene and select NPC_blue, i can see that it has an event file "bluePantsDialogue ".
This error does not bother me, i just wanted to let you know.