Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UdonBehaviour will be halted #58

Open
Joshosh opened this issue Sep 6, 2022 · 2 comments
Open

UdonBehaviour will be halted #58

Joshosh opened this issue Sep 6, 2022 · 2 comments

Comments

@Joshosh
Copy link

Joshosh commented Sep 6, 2022

I have tried so many things Somone please help. We can not figure out what is going on.

[UdonBehaviour] An exception occurred during Udon execution, this UdonBehaviour will be halted.
VRC.Udon.VM.UdonVMException: The VM encountered an error!
Exception Message:
An exception occurred during EXTERN to 'UnityEngineLight.__set_enabled__SystemBoolean__SystemVoid'.
Parameter Addresses: 0x00000003, 0x00000004

Object reference not set to an instance of an object

Program Counter was at: 96

Stack Dump:

Heap Dump:
0x00000000: True
0x00000001: VRC.SDKBase.VRCPlayerApi
0x00000002: VRC.SDKBase.VRCPlayerApi
0x00000003: null
0x00000004: True
0x00000005: null
0x00000006: True
0x00000007: False
0x00000008: null
0x00000009: null
0x0000000A: null
0x0000000B: False
0x0000000C: null
0x0000000D: False
0x0000000E: null
0x0000000F: null
0x00000010: VRCSDKBaseVRCPlayerApi.__get_isLocal__SystemBoolean
0x00000011: UnityEngineLight.__set_enabled__SystemBoolean__SystemVoid

Inner Exception:
---> VRC.Udon.VM.UdonVMException: An exception occurred during EXTERN to 'UnityEngineLight.__set_enabled__SystemBoolean__SystemVoid'.
Parameter Addresses: 0x00000003, 0x00000004
---> System.NullReferenceException: Object reference not set to an instance of an object
at VRC.Udon.Wrapper.Modules.ExternUnityEngineLight.__set_enabled__SystemBoolean__SystemVoid (VRC.Udon.Common.Interfaces.IUdonHeap heap, System.Span1[T] parameterAddresses) [0x0002d] in <264e7c7bca7e47368412f5168be1f4a7>:0 at VRC.Udon.VM.UdonVM.Interpret () [0x00273] in <bea8952ec6d6468496a177eb7dd5fc4b>:0 --- End of inner exception stack trace --- at VRC.Udon.VM.UdonVM.Interpret () [0x0033c] in <bea8952ec6d6468496a177eb7dd5fc4b>:0 --- End of inner exception stack trace --- at VRC.Udon.VM.UdonVM.Interpret () [0x00436] in <bea8952ec6d6468496a177eb7dd5fc4b>:0 at VRC.Udon.UdonBehaviour.RunProgram (System.UInt32 entryPoint) [0x0006d] in C:\Users\Josh Adamik\VRchat world tests\Fresh Start __________(A)555555\Assets\Udon\UdonBehaviour.cs:982 UnityEngine.Debug:LogError (object,UnityEngine.Object) VRC.Core.Logger:LogError (string,int,UnityEngine.Object) VRC.Udon.UdonBehaviour:RunProgram (uint) (at Assets/Udon/UdonBehaviour.cs:996) VRC.Udon.UdonBehaviour:RunEvent (string,System.ValueTuple2<string, object>[]) (at Assets/Udon/UdonBehaviour.cs:1190)
VRC.Udon.UdonBehaviour:OnTriggerEnter (UnityEngine.Collider) (at Assets/Udon/UdonBehaviour.cs:797)

@CyanLaser
Copy link
Owner

Can you clarify what is happening? The Udon error you posted doesn't seem to be CyanEmu related as it is complaining that a "Light" component is missing when the program is trying to enable/disable it.

@Joshosh
Copy link
Author

Joshosh commented Sep 7, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants