edited June 2015 in ORK Support
You found a bug in ORK Framework?

Please report them in this thread!
If you encountered an error message in Unity's console - please add them as a quote.
Post edited by gamingislove on
  • edited November 2013
    Ran into a bug while testing; loading games doesn't seem to work after Beta13; haven't updated to Beta13a in this build, but whenever I try to load a saved game, I get this:
    NullReferenceException: Object reference not set to an instance of an object
    ORKFramework.Formulas.Steps.StatusValueStep.Calculate (System.Single& result, ORKFramework.Combatant user, ORKFramework.Combatant target)
    ORKFramework.Formulas.Formula.Calculate (ORKFramework.Combatant user, ORKFramework.Combatant target)
    ORKFramework.StatusValue.FinalValue ()
    ORKFramework.CombatantStatus.ResetStatus ()
    ORKFramework.Combatant.Init (Int32 level, Int32 classLevel, Int32 classID)
    ORKFramework.Combatant.LoadGame (ORKFramework.DataObject data)
    ORKFramework.Combatant..ctor (ORKFramework.DataObject data, ORKFramework.Group g)
    ORKFramework.Group.LoadMembers (ORKFramework.DataObject data)
    ORKFramework.PlayerHandler.LoadGame (ORKFramework.DataObject data)
    ORKFramework.SaveGameHandler.Loaded (ORKFramework.DataObject data)
    ORKFramework.Behaviours.SceneChanger+d__2.MoveNext ()
    I hear music, but the screen is black, and then I get a continuing error from my camera scripts:
    NullReferenceException
    InstantiatePlayerDeadGear.Start () (at Assets/CameraFor2D/Example/Scripts/InstantiatePlayerDeadGear.cs:11)
    InvalidOperationException: Operation is not valid due to the current state of the object
    System.Linq.Enumerable.Iterate[Transform,Single] (IEnumerable`1 source, Single initValue, System.Func`3 selector)
    System.Linq.Enumerable.Min[Transform] (IEnumerable`1 source, System.Func`2 selector)
    CameraController2D.IdealCameraPosition () (at Assets/CameraFor2D/Scripts/CameraController2D.cs:636)
    CameraController2D.ApplyMovement () (at Assets/CameraFor2D/Scripts/CameraController2D.cs:448)
    CameraController2D.LateUpdate () (at Assets/CameraFor2D/Scripts/CameraController2D.cs:397)

    Hope this helps!
    Post edited by Kirb on
    Tactics RPG Grid Battle System for ORK
    ---------------------------------------
    I make Dead Gear: http://www.deadgeargame.com
    Twitter: https://twitter.com/Kirbychwan
  • I guess you're using combined status values?

    Please send me some details on the formula you use and your status values (e.g. how many combined values, the order of them, etc.) to contact@orkframework.com.
  • edited November 2013
    That is correct!

    And sure thing, just tossed the email now. :D
    Post edited by Kirb on
    Tactics RPG Grid Battle System for ORK
    ---------------------------------------
    I make Dead Gear: http://www.deadgeargame.com
    Twitter: https://twitter.com/Kirbychwan
  • When I set an actor in the event system and set a name for them, it seems to cut off the name in the dialogue. This is regardless if I adjust the xy,wh in the GUI editor.
  • That may actually be an issue with your GUIskin; I remember having similar issues in the first few versions of the beta until I began using my own custom GUI skin. I'd try experimenting with the padding and maybe font size as well. Here's what I have set up for my name box dialogue GUI in ORK: http://i.imgur.com/GxULGca.png
    Tactics RPG Grid Battle System for ORK
    ---------------------------------------
    I make Dead Gear: http://www.deadgeargame.com
    Twitter: https://twitter.com/Kirbychwan
  • @Dre788
    Did you enable the Adjust Width setting in the name box settings?
  • So this is what's happening. https://dl.dropboxusercontent.com/u/85707879/name_space.jpg I tried to adjust all the settings, nothing really changed except the text became more visible when I made them smaller. It might appear to be the padding but it's set to default. (1,5,1,5) I am using the default GUI; I just figured this might be a bug to report.
  • @Dre788
    Please send me your ORK project file (should be located in Assets/ORK Framework/ORKProject.asset) to contact@orkframework.com - seems strange :)
  • So, any update on what could be the problem?
  • Yep, there's a bug when calculating the name's size - will be fixed in the next update :)
  • edited November 2013
    I'm not sure if this has been reported anywhere yet.

    When starting a new game the GUI / HUD does not appear and I get the following error (after updating my project to beta14a):
    NullReferenceException: Object reference not set to an instance of an object
    ORKFramework.HUDSetting.IsVisible ()
    ORKFramework.HUD.Tick ()
    ORKFramework.LevelHandler.Update ()
    I also get this error which seems to be a general Unity bug (http://forum.unity3d.com/threads/210343-Getting-Error-fence-expectedFence-in-4-3/)

    fence == expectedFence

    I tried searching my code for where the NullReference is occuring, but there are no line number or other relevant information to track down the problem. I'm kinda stuck until I can figure this out.

    p.s.

    As a suggestion, it might be better to have an entire sub-section of this forum dedicated to bug reports. I would imagine that this thread will get cluttered really quickly. Especially when you're trying to get more information on specific issues. Just a thought.
    Post edited by poofdragon on
  • @poofdragon
    Check your interaction HUDs (or all of your HUDs :D) and see if everything is set up correctly. The only thing that could throw a null pointer there would be the interaction settings.

    From what version did you update to beta14a? There've been some changes to HUDs in one of the last updates, you may need to recreate them ...
  • I jumped from beta10 to beta14a (I had some computer problems so my free time has been occupied trying to fix them instead of working on this project). I looked through the HUDs last night and everything "looked" normal. Can you point me to the changelog which denotes the HUD changes? I read back through some of them, but I must have missed the note about HUD changes specifically.
Sign In or Register to comment.