Hello Guest

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - jerydarkside

Pages: [1]
1
Support / Re: Resizing tk2dsprite with a collider 2D makes spam logs
« on: August 08, 2014, 11:38:22 pm »
To illustrate the problem, here is the video I made about it
http://youtu.be/B6jvS4e4vcE?t=4m30s

At 4:30

Sincerely,

Jery

2
Support / Resizing tk2dsprite with a collider 2D makes spam logs
« on: August 08, 2014, 11:02:43 pm »
Hi, using unity 4.5.2 and 2d Toolkit 2.4.0 :
When I create a tk2d Sprite, and add a Collider 2d (changing the physics engine in the settings of the sprite collection), if I resize the sprite (either using theSprite Controls in the scene, or changing the scale of the tk2dSprite script in the inspector), there are multiple error logs (repeating 999+) that appear in the console. These logs are :

*****************************
MissingReferenceException: The object of type 'BoxCollider2D' has been destroyed but you are still trying to access it.
Your script should either check if it is null or you should not destroy the object.
UnityEditor.Editor.IsEnabled ()
UnityEditor.InspectorWindow.DrawEditor (UnityEditor.Editor editor, Int32 editorIndex, Boolean forceDirty, System.Boolean& showImportedObjectBarNext, UnityEngine.Rect& importedObjectBarRect, Boolean eyeDropperDirty)
UnityEditor.InspectorWindow.DrawEditors (UnityEditor.Editor[] editors)
UnityEditor.InspectorWindow.OnGUI ()
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
*****************************
And
The targets array should not be used inside OnSceneGUI or OnPreviewGUI. Use the single target property instead.
UnityEditor.MaterialEditor:OnEnable()
**********
And
The serializedObject should not be used inside OnSceneGUI or OnPreviewGUI. Use the target property directly instead.
UnityEditor.BoxCollider2DEditor:OnEnable()


Do you have the same problem too?
I will make a video to illustrate my problem.
If you have any advice to help ;)

Sincerely,

Jery

Pages: [1]