Jump to content
Aveyond Studios Community

disya75

Members
  • Content Count

    6
  • Joined

  • Last visited

Posts posted by disya75


  1. I install both packages and run your test scene , and Unity show that warning message:

    HeroKit.Scene.HeroKitSettings must be instantiated using the ScriptableObject.CreateInstance method instead of new HeroKitSettings.
    UnityEngine.ScriptableObject:.ctor()
    HeroKit.Scene.HeroKitSettings:.ctor()
    HeroKit.Scene.HeroKitCommonRuntime:GetHeroKitSettings() (at Assets/HeroKit/Hero Engine/Framework/4. Hero Common/Data/HeroKitCommonRuntime.cs:150)
    HeroKit.Scene.HeroKitCommonRuntime:initializeGame() (at Assets/HeroKit/Hero Engine/Framework/4. Hero Common/Data/HeroKitCommonRuntime.cs:61)
    HeroKit.Scene.HeroKitObject:Awake() (at Assets/HeroKit/Hero Engine/Framework/1. Hero Objects/Scene/HeroKitObject.cs:123)

    But all works! Thanks for your help! :-)


  2. Hello , Ant!

    Thanks so much for this amazing tutorial! I follow it step by step , but... Errors again 😞

    HeroKit.Scene.HeroKitSettings must be instantiated using the ScriptableObject.CreateInstance method instead of new HeroKitSettings.
    UnityEngine.ScriptableObject:.ctor()
    HeroKit.Scene.HeroKitSettings:.ctor()
    HeroKit.Scene.HeroKitCommonRuntime:GetHeroKitSettings() (at Assets/HeroKit/Hero Engine/Framework/4. Hero Common/Data/HeroKitCommonRuntime.cs:150)
    HeroKit.Scene.HeroKitCommonRuntime:initializeGame() (at Assets/HeroKit/Hero Engine/Framework/4. Hero Common/Data/HeroKitCommonRuntime.cs:61)
    HeroKit.Scene.HeroKitObject:Awake() (at Assets/HeroKit/Hero Engine/Framework/1. Hero Objects/Scene/HeroKitObject.cs:123)

    and this:

    NullReferenceException: Object reference not set to an instance of an object
    HeroKit.Scene.HeroKitDatabase.GetAction (System.String key) (at Assets/HeroKit/Hero Engine/Framework/4. Hero Common/Data/HeroKitDatabase.cs:83)
    HeroKit.Scene.HeroKitObject.PlayActions (Int32 eventID) (at Assets/HeroKit/Hero Engine/Framework/1. Hero Objects/Scene/HeroKitObject.cs:810)
    HeroKit.Scene.HeroKitObject.PlayEvent (Int32 eventID, UnityEngine.GameObject messenger, Boolean useConditions, Int32 eventType, Int32 messageID) (at Assets/HeroKit/Hero Engine/Framework/1. Hero Objects/Scene/HeroKitObject.cs:762)
    HeroKit.Scene.HeroKitObject.PlayEvents (Int32 eventType, Boolean useConditions, Int32 messageID, UnityEngine.GameObject messenger) (at Assets/HeroKit/Hero Engine/Framework/1. Hero Objects/Scene/HeroKitObject.cs:724)
    HeroKit.Scene.HeroKitObject.Actions_Run_Once () (at Assets/HeroKit/Hero Engine/Framework/1. Hero Objects/Scene/HeroKitObject.cs:525)
    HeroKit.Scene.HeroKitObject.ChangeHeroObject (HeroKit.Scene.HeroObject newHeroObject) (at Assets/HeroKit/Hero Engine/Framework/1. Hero Objects/Scene/HeroKitObject.cs:605)
    HeroKit.Scene.HeroKitObject.Awake () (at Assets/HeroKit/Hero Engine/Framework/1. Hero Objects/Scene/HeroKitObject.cs:124)

    -Unity 2017.1.0p5 , HeroKit - 1.10

    What`s wrong? (


  3. Hello, Ant!
    I tried to do everything myself, watched your video, but due to the fact that I'm not a programmer at all, it did not work for me (Unity constantly gives errors to different scripts) ... Now I'm completely confused and I really need your help!

    I would be very grateful if you could create an action for me, allowing me to use my prefab, or simply explain in detail what and in which scripts needs to be changed.
    Yours faithfully!

    Here is the prefab of the dialog box I altered:

    toAnt.jpg

×
×
  • Create New...