2D Toolkit Forum
2D Toolkit => Support => Topic started by: theredace on January 28, 2015, 07:29:58 pm
-
I recently upgraded to one of the Unity beta releases 4.6.1p3, and now after opening my project that uses tk2d I'm getting a console error from multiple tk2d scripts saying that "'UnityEngine.BoxCollider2D' does not contain a definition for 'offset'. It only gives me one error at a time, but if I comment out the line then it just gives me basically the same error from a different tk2d script (but always just one at a time).
(https://dl-web.dropbox.com/get/Public/tk2d_error.jpg?_subject_uid=298219659&w=AACl-7-LCodJAfMaO5kvEeBs1iKHp_kVlA0yXSUF8fCI6A)
I'm using 2D Toolkit version 2.5.0 which appears to be the latest version. Any idea what's causing this?
-
I don't see that at all in 4.6.1p4 - I don't know if there was a problem specific on that patch release - all of those occurances of offset are wrapped in a define for Unity5, so the only way that could break is if the define isn't set. (UNITY_4_6).
-
Well, I reverted back to a slightly older backup of the project and the error went away. I guess something just got borked, but no idea how. Thanks for your help Unikron, and sorry for wasting your time.