Skip to content

NullReference when stop playing #8

@brunomikoski

Description

@brunomikoski

I noticed that I get this null reference when I stop playing on editor:

MissingReferenceException: The object of type 'RectTransform' 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.
UnityEngine.RectTransform.get_anchoredPosition () (at <7d87237cea3743d093e22c5b98f74fba>:0)
UnityEngine.RectTransform.get_offsetMin () (at <7d87237cea3743d093e22c5b98f74fba>:0)
MobileConsole.UI.RecycleScrollView.IsViewAtBottom () (at Library/PackageCache/com.pixeption.mck@b94a04b6da/Internal/RecycleScrollView/RecycleScrollView.cs:555)
MobileConsole.UI.LogView.OnLogReceived (MobileConsole.LogInfo logInfo) (at Library/PackageCache/com.pixeption.mck@b94a04b6da/Internal/Scripts/Views/LogView.cs:96)
MobileConsole.LogReceiver.LogMessageReceived (System.String message, System.String stackTrace, UnityEngine.LogType type) (at Library/PackageCache/com.pixeption.mck@b94a04b6da/Internal/Scripts/Core/LogReceiver.cs:45)
UnityEngine.Application.CallLogCallback (System.String logString, System.String stackTrace, UnityEngine.LogType type, System.Boolean invokedOnMainThread) (at <7d87237cea3743d093e22c5b98f74fba>:0)
UnityEngine.Debug:Log(Object)
DG.Tweening.Core.Debugger:LogReport(Object) (at D:/DG/_Develop/__UNITY3_CLASSES/_Holoville/__DOTween/_DOTween.Assembly/DOTween/Core/Debugger.cs:73)
DG.Tweening.Core.DOTweenComponent:OnDestroy() (at D:/DG/_Develop/__UNITY3_CLASSES/_Holoville/__DOTween/_DOTween.Assembly/DOTween/Core/DOTweenComponent.cs:132)

Maybe its because my DOTween is not on safe mode, but would be nice to get this fixed.

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