I created a conversation with few lines.
One of the lines has an interraction which,when activated sets a integer variable randomly. Once this is done, depending on the random number which has been set, there are check variables which checks the randomised numbers. If matched, it engine play sound.
My problem is. when review the game in unity ,once the conversation line is selected, the game play suddenly pauses itself and throws me back to unity screen. There is nothing on the console.No errors no warnings: Simply nothing.
So , any idea on why this is happening?
Edit:
The Error im receiving in the console
NullReferenceException: Object reference not set to an instance of an object
AC.ActionList.Interact () (at Assets/AdventureCreator/Scripts/ActionList/ActionList.cs:70)
Conversation+<RunOptionCo>c__Iterator7.MoveNext () (at Assets/AdventureCreator/Scripts/Logic/Conversation.cs:166)
Comments
Ill uninstall unity and retry the project