MerlinVR/UdonSharp

Cannot Jump to Uninitialized Jump Label

GlitchyDev opened this issue · 0 comments

Describe the bug in detail:
In latest Alpha 1.0 build, When using a Static Method, some defined methods will instead show the "Cannot jump to uninitialized Jump label", this is not exclusive to any sort of method, as long as its user defined/vrc defined

Provide steps/code to reproduce the bug:
With my GANOS project, add this class, and replace the call methods on TestPerceptionAIController with one of these two logging functions
`public class GANOSGameLogger : UdonSharpBehaviour
{
public static void LogInfo(UdonSharpBehaviour behavior, string logmessage)
{
Debug.Log("[G] " + behavior.name + ": " + logmessage);
}

public static void LogError(UdonSharpBehaviour behavior, string logmessage)
{
    Debug.LogError("[G] " + behavior.name + ": " + logmessage);
}

}`

Expected behavior:
It does not have the error and compiles without issue

Additional Information:
https://cdn.discordapp.com/attachments/675459259441610807/889232611153690684/unknown.png
https://cdn.discordapp.com/attachments/675459259441610807/889232896974524506/unknown.png
https://i.imgur.com/HpiKHN2.png