You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I put a Unity UI with the Box Outline script in a scene in Unity 5.6, I get these console warnings:
Mesh.uv3 is out of bounds. The supplied array needs to be the same size as the Mesh.vertices array.
UnityEngine.Canvas:SendWillRenderCanvases()
Mesh.uv4 is out of bounds. The supplied array needs to be the same size as the Mesh.vertices array.
UnityEngine.Canvas:SendWillRenderCanvases()
Do you know what might be causing this?
The text was updated successfully, but these errors were encountered:
I solved it by removing all the version-dependent conditionals. Some bits of code were locked to a specific version of Unity, and the highest version mentioned was 5.5, so that code wasn't compiling.
You can use _OR_NEWER to future-proof the code (like #if UNITY_5_6_OR_NEWER)
Hi,
When I put a Unity UI with the Box Outline script in a scene in Unity 5.6, I get these console warnings:
Do you know what might be causing this?
The text was updated successfully, but these errors were encountered: