When using Label3D in the unity editor, all is working as expected. But as soon as I make a build for android using Vulkan graphics API, the 3d label isn’t displayed. I didn’t see any errors or other issues with the rendering.
Lines and other primitive shapes work as expected.
I also noticed that the Label3D is not burst compatible (inside of an ISystem) even when used with a FixedString.
Thank you Aron for answering so promptly (as always )
The error during complication I get is the following:
.\Library\PackageCache\com.unity.collections@2.1.0-pre.6\Unity.Collections\FixedStringAppendMethods.cs(417,17): Burst error BC1016: The managed function `System.String.get_Length(System.String* this)` is not supported
This bubbles up from the ALINE drawing code.
Now if this is a burst bug or not I’m not sure.
Any idea why the rendering on android seems not to work only for the text labels (all other primitives work)
Code I used to draw:
var text = new FixedString512Bytes("Frank");
drawing.Label3D(position + math.up() * 0.3f, transform.WorldRotation,
ref text, 0.2f, LabelAlignment.Center,
Color.black);