Unity-Technologies / ui-toolkit-manual-code-examples

Unity UI Toolkit documentation code examples
455 stars 78 forks source link

compilation errors in 2021.3.9f1 - 2D URP #13

Closed vvp3 closed 2 years ago

vvp3 commented 2 years ago

C:\Users\VP\Unity Projects\UNity - UI Toolkit Dragons - 2D URP\Library\PackageCache\com.unity.2d.spriteshape@7.0.5\Runtime\SpriteShapeGenerator.cs(1157,21): Burst error BC1055: Unable to resolve the definition of the method UnityEngine.U2D.Common.UTess.ModuleHandle.Tessellate(Unity.Collections.Allocator, Unity.Collections.NativeArray1, Unity.Collections.NativeArray1<Unity.Mathematics.int2>, ref Unity.Collections.NativeArray1, ref int, ref Unity.Collections.NativeArray1<int>, ref int, ref Unity.Collections.NativeArray1, ref int)`

at UnityEngine.U2D.SpriteShapeGenerator.TessellateContour(UnityEngine.U2D.SpriteShapeGenerator this) (at C:\Users\VP\Unity Projects\UNity - UI Toolkit Dragons - 2D URP\Library\PackageCache\com.unity.2d.spriteshape@7.0.5\Runtime\SpriteShapeGenerator.cs:1113) at UnityEngine.U2D.SpriteShapeGenerator.Execute(UnityEngine.U2D.SpriteShapeGenerator this) (at C:\Users\VP\Unity Projects\UNity - UI Toolkit Dragons - 2D URP\Library\PackageCache\com.unity.2d.spriteshape@7.0.5\Runtime\SpriteShapeGenerator.cs:2562) at Unity.Jobs.IJobExtensions.JobStruct`1.Execute(ref UnityEngine.U2D.SpriteShapeGenerator data, System.IntPtr additionalPtr, System.IntPtr bufferRangePatchData, ref Unity.Jobs.LowLevel.Unsafe.JobRanges ranges, int jobIndex)


Library\PackageCache\com.unity.2d.spriteshape@7.0.5\Runtime\SpriteShapeGenerator.cs(1157,117): error CS1620: Argument 5 must be passed with the 'out' keyword Library\PackageCache\com.unity.2d.spriteshape@7.0.5\Runtime\SpriteShapeGenerator.cs(1157,134): error CS1620: Argument 7 must be passed with the 'out' keyword Library\PackageCache\com.unity.2d.spriteshape@7.0.5\Runtime\SpriteShapeGenerator.cs(1157,152): error CS1620: Argument 9 must be passed with the 'out' keyword

Element 'ChartLibrary.RadialCounter' has no registered factory method. UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) Element 'MyUILibrary.SlideToggle' has no registered factory method. UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) Element 'UIToolkitDemo.HealthBarComponent' has no registered factory method. UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

vvp3 commented 2 years ago

solved it on my own >>> 2D SpriteShape UNLOCK .. update to 7.06 --- errors gone hope this would help others too ...