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
{{ message }}
This repository was archived by the owner on Sep 7, 2022. It is now read-only.
Repository navigation
This repository was archived by the owner on Sep 7, 2022. It is now read-only.
Question regarding warnings encountered with Unity (non-CN) version 2020 and above #349
We've encountered the following warnings when running an android build on Unity 2020.3.36f1 with UIWidgets version 1.5.4_stable:
Shader warning in 'UIWidgets/canvas_convexFill_cb': use of potentially uninitialized variable (shader_gradient_colorize) at <project-folder>/Packages/UIWidgets-release_1.5.4_stable/Runtime/Resources/shaders/UIWidgets_canvas.cginc(72) (on d3d11)
Aside from UIWidgets/canvas_convexFill_cb, we are also encountering this warning in the following shaders:
UIWidgets/canvas_strokeAlpha_cb
UIWidgets/canvas_tex_cb
UIWidgets/canvas_convexFill
UIWidgets/canvas_tex
UIWidgets/canvas_stroke0_cb
UIWidgets/canvas_stroke0
UIWidgets/canvas_strokeAlpha
UIWidgets/canvas_fill1
UIWidgets/canvas_fill1_cb
UnobservedTaskException:System.NullReferenceException: Object reference not set to an instance of an object
External Tools:
JDK: Installed with Unity
Android SDK: 30.0.3
NDK: Installed with Unity
Gradle: 6.5.1
We'd just like to confirm if these warnings are related to the fact that there is currently no official support for Unity (non-CN) version 2020 and above.
Activity
zhuxingwei commentedon Aug 18, 2022
Yes, since uiwidget 1.0 is no longer developed for new version Unity (e.g., 2020 LTS), there might be some incompatible issues between them.