Hello Guest

Author Topic: 2D Toolkit 1.76 final + patch 2  (Read 10097 times)

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
2D Toolkit 1.76 final + patch 2
« on: August 27, 2012, 12:16:50 am »
Bugfix

Shader performance bugfix.

Linkified

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: 2D Toolkit 1.76 final + patch 2
« Reply #1 on: August 29, 2012, 03:53:09 pm »
Hi I'm getting lots of errors regarding the camera anchor after upgrading to this latest version, where there wasn't errors before:

Code: [Select]
UnassignedReferenceException: The variable _transform of 'tk2dCameraAnchor' has not been assigned.
You probably need to assign the _transform variable of the tk2dCameraAnchor script in the inspector.
UnityEngine.Transform.get_localPosition ()
tk2dCameraAnchor.UpdateTransform () (at Assets/TK2DROOT/tk2d/Code/Camera/tk2dCameraAnchor.cs:64)
tk2dCameraAnchor.Update () (at Assets/TK2DROOT/tk2d/Code/Camera/tk2dCameraAnchor.cs:94)

Code: [Select]
IndexOutOfRangeException: Array index is out of range.
UnityEditor.Editor.get_target ()
UnityEditor.InspectorWindow.DrawEditors (Boolean isRepaintEvent, UnityEditor.Editor[] editors, Boolean eyeDropperDirty)
UnityEditor.InspectorWindow.OnGUI ()
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture)

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: 2D Toolkit 1.76 final + patch 2
« Reply #2 on: August 29, 2012, 06:43:37 pm »
What version were you running before updating to this one?

Linkified

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: 2D Toolkit 1.76 final + patch 2
« Reply #3 on: August 29, 2012, 06:44:51 pm »
I was running 1.76 final + patch 1.

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: 2D Toolkit 1.76 final + patch 2
« Reply #4 on: August 29, 2012, 06:48:23 pm »
Thats strange. The tk2dCamera stuff shouldn't have changed between those versions. I'll just go and check in case there was some missed merge or some other craziness going on.

Also, do you ALWAYS get this error? does it go away after reloading the scene?

Linkified

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: 2D Toolkit 1.76 final + patch 2
« Reply #5 on: August 29, 2012, 07:03:15 pm »
It goes away after reloading the scene, the reason because of it was it made iphone wide 480 * 320 make certain textures weird, but all other textures on all other versions look correct.

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: 2D Toolkit 1.76 final + patch 2
« Reply #6 on: August 29, 2012, 07:15:15 pm »
I actually had this patched in the main version - I'll merge that and post a new version shortly.