Closed visualmusicdesign closed 11 months ago
Just tested running the camera to a Camera View on an empty URP project release build.
Works fine.
So the issue could be related to something specific in my app's project - I wonder if it could have anything to do with the fact that my app's repository on Windows was cloned from git?
It's bizarre that it works perfectly in my app in the Editor too.
I tried to replicate the set up of VideoKit in my app's scene in the test scene exactly... Can't get the test scene to throw the error in the release build.
Can't possibly think of what would cause this in my app's release build...
I really hope you may possibly have a solution on Monday...
Thank you
Fix confirmed and coming in 0.0.16.
Getting ready to release with VideoKit 0.0.15 integrated for the first time.
Uploading Crash Report NullReferenceException: Object reference not set to an instance of an object. at VideoKit.Internal.VideoKitSettings.CheckSession () [0x00000] in <00000000000000000000000000000000>:0 at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[TResult].Start[TStateMachine] (TStateMachine& stateMachine) [0x00000] in <00000000000000000000000000000000>:0 at VideoKit.Internal.VideoKitSettings.CheckSession () [0x00000] in <00000000000000000000000000000000>:0 at VideoKit.Internal.VideoKitSettings.Awake () [0x00000] in <00000000000000000000000000000000>:0 at System.Runtime.CompilerServices.AsyncVoidMethodBuilder.Start[TStateMachine] (TStateMachine& stateMachine) [0x00000] in <00000000000000000000000000000000>:0 at VideoKit.Internal.VideoKitSettings.Awake () [0x00000] in <00000000000000000000000000000000>:0 --- End of stack trace from previous location where exception was thrown ---
at VideoKit.Internal.VideoKitSettings.Awake () [0x00000] in <00000000000000000000000000000000>:0 at System.Runtime.CompilerServices.AsyncVoidMethodBuilder.Start[TStateMachine] (TStateMachine& stateMachine) [0x00000] in <00000000000000000000000000000000>:0 at VideoKit.Internal.VideoKitSettings.Awake () [0x00000] in <00000000000000000000000000000000>:0 --- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.b__7_0 (System.Object state) [0x00000] in <00000000000000000000000000000000>:0
at UnityEngine.UnitySynchronizationContext+WorkRequest.Invoke () [0x00000] in <00000000000000000000000000000000>:0
at UnityEngine.UnitySynchronizationContext.Exec () [0x00000] in <00000000000000000000000000000000>:0