Topic: error report

I get this error when I start unity

Internal_Create is not allowed to be called from a MonoBehaviour constructor (or instance field initializer), call it in Awake or Start instead. Called from MonoBehaviour 'HitBoxesScript' on game object ''.
See "Script Serialization" page in the Unity Manual for further details.
UnityEngine.Texture2D:.ctor(Int32, Int32)
HitBoxesScript:.ctor()

I am using version unity 5.4.0b17 personal

and sometime it  froze when it juggle for like few frames depend on the length of 'hit stun on hit'
didn't have problem b4 but when I updated it happened... so must be something to do with version....

Share

Thumbs up Thumbs down

2 (edited by knightgabriel4eva 2016-05-18 00:22:12)

Re: error report

I found two more errors

MissingReferenceException: The object of type 'Animation' 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.
LegacyControl.IsPlaying (System.String clipName) (at Assets/UFE/Scripts/LegacyControl.cs:145)
MoveSetScript.RestoreAnimationSpeed () (at Assets/UFE/Scripts/MoveSetScript.cs:576)
ControlsScript.PausePlayAnimation (Boolean pause, Single animSpeed) (at Assets/UFE/Scripts/ControlsScript.cs:2543)
ControlsScript.PausePlayAnimation (Boolean pause) (at Assets/UFE/Scripts/ControlsScript.cs:2535)
ControlsScript.HitUnpause () (at Assets/UFE/Scripts/ControlsScript.cs:2524)
UFE.FixedUpdate () (at Assets/UFE/Scripts/UFE.cs:2043)

and


NullReferenceException
UnityEngine.Transform.get_position () (at C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineTransformBindings.gen.cs:26)
HitBoxesScript.GetPosition (BodyPart bodyPart) (at Assets/UFE/Scripts/HitBoxesScript.cs:319)
ControlsScript.ReadMove (.MoveInfo move) (at Assets/UFE/Scripts/ControlsScript.cs:1512)
ControlsScript.DoFixedUpdate () (at Assets/UFE/Scripts/ControlsScript.cs:488)
UFE.FixedUpdate () (at Assets/UFE/Scripts/UFE.cs:1996)


I get them when I do test run...

I also get this minor error:
BoxColliders does not support negative scale or size.
The effective box size has been forced positive and is likely to give unexpected collision geometry.
If you absolutely need to use negative scaling you can use the convex MeshCollider. Scene hierarchy path "Game/Dungeon(Clone)/Tomb04_e 1/Tomb04_d"

Share

Thumbs up Thumbs down

Re: error report

knightgabriel4eva wrote:

I get this error when I start unity

Internal_Create is not allowed to be called from a MonoBehaviour constructor (or instance field initializer), call it in Awake or Start instead. Called from MonoBehaviour 'HitBoxesScript' on game object ''.
See "Script Serialization" page in the Unity Manual for further details.
UnityEngine.Texture2D:.ctor(Int32, Int32)
HitBoxesScript:.ctor()

I am using version unity 5.4.0b17 personal

and sometime it  froze when it juggle for like few frames depend on the length of 'hit stun on hit'
didn't have problem b4 but when I updated it happened... so must be something to do with version....

UFE hasn't been tested on any beta versions of Unity, you should stick with Unity 5.3.4 which is the most stable release of Unity.

Get it here: https://unity3d.com/unity/whats-new/unity-5.3.4

Share

Thumbs up Thumbs down

Re: error report

thnx I will use 5.3.4.

but 5.4.x seems working but just getting error msg but still works like there isn't any problem when I do the test.. no idea why

Share

Thumbs up Thumbs down