Skip to content

If you die in the demo you get this error... #27

Open
@XeonG

Description

@XeonG
MissingReferenceException: The object of type 'Baracuda.Example.Scripts.GameManager' has been destroyed but you are still trying to access it.
Your script should either check if it is null or you should not destroy the object. Parameter name: obj
�UnityEngine.MissingReferenceException: The object of type 'Baracuda.Example.Scripts.GameManager' has been destroyed but you are still trying to access it.
Your script should either check if it is null or you should not destroy the object. Parameter name: obj
void UnityEngine.Object+MarshalledUnityObject.TryThrowEditorNullExceptionObject(Object unityObj, string parameterName)
void UnityEngine.Bindings.ThrowHelper.ThrowArgumentNullException(object obj, string parameterName)
bool UnityEngine.MonoBehaviour.IsObjectMonoBehaviour(Object obj)
Coroutine UnityEngine.MonoBehaviour.StartCoroutine(IEnumerator routine)
void Baracuda.Example.Scripts.GameManager.<Start>b__12_0(?)+() => { } (at Assets/Samples/Runtime Monitoring/3.5.4/Example Scene/Scripts/GameManager.cs:59)
void Baracuda.Example.Scripts.PlayerState.Die() (at Assets/Samples/Runtime Monitoring/3.5.4/Example Scene/Scripts/PlayerState.cs:24)
void Baracuda.Example.Scripts.PlayerMovement.LateUpdate() (at Assets/Samples/Runtime Monitoring/3.5.4/Example Scene/Scripts/PlayerMovement.cs:141)
�   at void UnityEngine.DebugLogHandler.Internal_LogException_Injected(Exception, IntPtr)
void UnityEngine.DebugLogHandler.Internal_LogException(Exception ex, Object obj)
void UnityEngine.DebugLogHandler.LogException(Exception exception, Object context)
void Switchboard.UnityLogger.Log(LogLevel logLevel, Exception exception, ReadOnlySpan<char> message)
void Switchboard.LoggerRoot.Log(LogLevel logLevel, Exception exception, ReadOnlySpan<char> message)
void Switchboard.UnityLogHijacker.LogException(Exception exception, Object context)
void UnityEngine.Logger.LogException(Exception exception, Object context)
bool UnityEngine.Debug.CallOverridenDebugHandler(Exception exception, Object obj)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions