Udon Mesh ctor and Gizmos nodes not working
Toocanzs
VRCSDK3-2020.02.03.22.36
UDONSDK-2020.02.03.11.56_Public
The patch notes said these two nodes were added
- Added Mesh Constructor node
- Added Gizmos nodes
Trying to use any gizmos node results in this error https://cdn.discordapp.com/attachments/504448512231211008/674030632963276820/unknown.png
That error makes sense, but there's no OnDrawGizmosSelected event, so these are unusable at the moment.
Also trying to use
EXTERN, "UnityEngineMesh.__ctor____UnityEngineMesh"
(what the graph spits out) causes this error VRC.Udon.VM.UdonVMException: The VM encountered an error!
Exception Message:
External function '__ctor____UnityEngineMesh' is not supported.
Lastly I noticed there's I also noticed
UnityEngineTypeResolver
doesn't have a mapping from "UnityEngineGizmos" -> typeof(UnityEngine.Gizmos)
Speaking of things missing from the type resolvers, I had to create my own type resolver for a lot of missing mappings from string to type that exist in the strings of Udon externs. Unsure whether or not these are intended to be missing
Log In
Aev
Merged in a post:
gizmo features were added but cannot be used without onDrawGizmos event
Phasedragon
An error message comes up and says that they can only be used in onDrawGizmos and onDrawGizmosSelected. Those events do not exist in udon.