2D Toolkit Forum
2D Toolkit => Support => Topic started by: Supagoat on November 30, 2014, 03:52:52 pm
-
I see this error in the console when I start up unity 4.6. I can clear it away and it doesn't stop me from running my game and it doesn't appear to come back.
This is on a project that was originally created back in Unity 3.5 and updated, and likewise started with tk2d 1.x and upgraded. I just created a new project in Unity 4.6 and included tk2d and it's not showing that error.
IsMatrixValid (matrix)
UnityEngine.Camera:set_projectionMatrix(Matrix4x4)
tk2dCamera:UpdateCameraMatrix() (at Assets/TK2DROOT/tk2d/Code/Camera/tk2dCamera.cs:801)
tk2dCamera:OnEnable() (at Assets/TK2DROOT/tk2d/Code/Camera/tk2dCamera.cs:275)
-
Update: I tried starting unity with a different project opened initially and no error, then I switched to the project that was giving me the error.... No error. I just reimported all scripts and then restarted unity and no error.
So I guess the bottom line is: Not able to reproduce.
-
It might be a temporary thing when the game view viewport is incorrect for a few seconds. If something like this comes up again, its safe to ignore - unless it keeps spitting it out constantly.
-
This happens to me every time I start my project, since Unity 4.6
Also, editor view is not rendered correctly until I hit play (and stop). By that I mean, some tiled sprite elements are not rendered.
P.S. unikron - can you see the attachments I posted? Because it says they are attached but I don't see them.
-
Is your game window visible there, or is it a hidden tab?
-
It is a detached window (visible).
-
Can you post a repro for this in the private support forum please, I cant seem to get it to do that.
-
Is it OK if I email you the Unity project?
I am not sure how to go to the private support forum, can you tell me how?
Thanks,
Kreso
-
Hi,
Register your copy of tk2d as described here (http://2dtoolkit.com/forum/index.php/topic,34.0.html) for access to the private support forum.
-
Hi,
OK, I send the request with my invoice number, I understand someone will confirm this by hand..
I don't want to post my project in the forums for people to download freely. So, I sent my project via email (wetransfer) because it is a rather small project and I experience both my problems there (described in the email).
I got notification that someone @ unikron received the email and downloaded the file. Perhaps we can continue in that email thread until we reach a solution?
Thanks!
Kreso
-
Yes we'll do that, I've had a brief look and I dont get the IsMatrixValid error, but the other issue is completely different. Will continue via email over the weekend hopefully.
-
I am getting this error now, too, in a brand new project with just tk2d added. Was a solution to this found?
-
It was a while ago, but I think in the last issue it was caused by the game window being invisible for a frame. The message is safe to ignore, unless it happens every frame (it should only trigger once or twice at on startup).