Skip to content

Instantly share code, notes, and snippets.

@aoxu
Created March 21, 2018 12:04
Show Gist options
  • Select an option

  • Save aoxu/9fc22dc02052cf1d9b350d07d7a497a0 to your computer and use it in GitHub Desktop.

Select an option

Save aoxu/9fc22dc02052cf1d9b350d07d7a497a0 to your computer and use it in GitHub Desktop.
Ex [WebSocketResponse]: HandleEvents - Message: 1: The object of type 'Transform' 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. at (wrapper managed-to-native) UnityEngine.Transform:INTERNAL_get_localScale (UnityEngine.Vector3&)
at UnityEngine.Transform.get_localScale () [0x00004] in /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/TransformBindings.gen.cs:135
at FairyGUI.DisplayObject.SetScale (Single xv, Single yv) [0x00007] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Plugins/FairyGUI/Scripts/Core/DisplayObject.cs:465
at FairyGUI.GLoader.UpdateLayout () [0x001ff] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Plugins/FairyGUI/Scripts/UI/GLoader.cs:485
at FairyGUI.GLoader.LoadFromPackage (System.String itemURL) [0x000b3] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Plugins/FairyGUI/Scripts/UI/GLoader.cs:334
at FairyGUI.GLoader.LoadContent () [0x00038] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Plugins/FairyGUI/Scripts/UI/GLoader.cs:312
at FairyGUI.GLoader.set_url (System.String value) [0x0001f] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Plugins/FairyGUI/Scripts/UI/GLoader.cs:76
at FairyGUI.Utils.HtmlImage.Create (FairyGUI.RichTextField owner, FairyGUI.Utils.HtmlElement element) [0x0008b] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Plugins/FairyGUI/Scripts/Utils/Html/HtmlImage.cs:75
at FairyGUI.Utils.HtmlPageContext.CreateObject (FairyGUI.RichTextField owner, FairyGUI.Utils.HtmlElement element) [0x001ae] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Plugins/FairyGUI/Scripts/Utils/Html/HtmlPageContext.cs:80
at FairyGUI.TextField.BuildLines () [0x00253] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Plugins/FairyGUI/Scripts/Core/Text/TextField.cs:585
at FairyGUI.TextField.EnsureSizeCorrect () [0x00018] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Plugins/FairyGUI/Scripts/Core/Text/TextField.cs:469
at FairyGUI.RichTextField.EnsureSizeCorrect () [0x00007] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Plugins/FairyGUI/Scripts/Core/Text/RichTextField.cs:146
at FairyGUI.DisplayObject.get_size () [0x00002] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Plugins/FairyGUI/Scripts/Core/DisplayObject.cs:386
at FairyGUI.GTextField.UpdateSize () [0x00030] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Plugins/FairyGUI/Scripts/UI/GTextField.cs:233
at FairyGUI.GTextField.set_text (System.String value) [0x0001c] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Plugins/FairyGUI/Scripts/UI/GTextField.cs:56
at FairyGUI.GTextField.Setup_AfterAdd (FairyGUI.Utils.XML xml) [0x00028] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Plugins/FairyGUI/Scripts/UI/GTextField.cs:328
at FairyGUI.GComponent.ConstructFromResource (System.Collections.Generic.List`1 objectPool, Int32 poolIndex) [0x0043a] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Plugins/FairyGUI/Scripts/UI/GComponent.cs:1400
at FairyGUI.GComponent.ConstructFromResource () [0x00004] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Plugins/FairyGUI/Scripts/UI/GComponent.cs:1246
at FairyGUI.UIPackage.CreateObject (FairyGUI.PackageItem item, System.Type userClass) [0x0007b] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Plugins/FairyGUI/Scripts/UI/UIPackage.cs:945
at FairyGUI.UIPackage.CreateObject (System.String resName) [0x0003a] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Plugins/FairyGUI/Scripts/UI/UIPackage.cs:889
at FairyGUI.UIPackage.CreateObject (System.String pkgName, System.String resName) [0x00010] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Plugins/FairyGUI/Scripts/UI/UIPackage.cs:375
at PopupWindow`1[T].OnInit () [0x00039] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Scripts/UI/Controller/Popup/PopupWindow.cs:142
at BattleOverUI.BattleResultWindow.OnInit () [0x00002] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Scripts/UI/Controller/Popup/BattleResultWindow.cs:35
at FairyGUI.Window._init () [0x00009] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Plugins/FairyGUI/Scripts/UI/Window.cs:433
at FairyGUI.Window.__uiLoadComplete () [0x00046] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Plugins/FairyGUI/Scripts/UI/Window.cs:427
at BaseUISource.Load (FairyGUI.UILoadCallback callback) [0x00058] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Scripts/UI/Controller/Popup/PopupWindow.cs:56
at FairyGUI.Window.Init () [0x0006f] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Plugins/FairyGUI/Scripts/UI/Window.cs:367
at FairyGUI.Window.__onShown () [0x0000d] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Plugins/FairyGUI/Scripts/UI/Window.cs:455
at FairyGUI.EventBridge.CallInternal (FairyGUI.EventContext context) [0x0003d] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Plugins/FairyGUI/Scripts/Event/EventBridge.cs:78
at FairyGUI.EventDispatcher.BroadcastEvent (System.String strType, System.Object data) [0x00095] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Plugins/FairyGUI/Scripts/Event/EventDispatcher.cs:359
at FairyGUI.EventListener.BroadcastCall () [0x0000e] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Plugins/FairyGUI/Scripts/Event/EventListener.cs:222
at FairyGUI.Container.AddChildAt (FairyGUI.DisplayObject child, Int32 index) [0x00087] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Plugins/FairyGUI/Scripts/Core/Container.cs:149
at FairyGUI.GComponent.ChildStateChanged (FairyGUI.GObject child) [0x000ff] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Plugins/FairyGUI/Scripts/UI/GComponent.cs:732
at FairyGUI.GComponent.AddChildAt (FairyGUI.GObject child, Int32 index) [0x000c7] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Plugins/FairyGUI/Scripts/UI/GComponent.cs:214
at FairyGUI.GComponent.AddChild (FairyGUI.GObject child) [0x0000e] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Plugins/FairyGUI/Scripts/UI/GComponent.cs:172
at FairyGUI.GRoot.ShowWindow (FairyGUI.Window win) [0x00003] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Plugins/FairyGUI/Scripts/UI/GRoot.cs:91
at FairyGUI.Window.Show () [0x00007] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Plugins/FairyGUI/Scripts/UI/Window.cs:177
at PopupManager.ShowWindow (FairyGUI.Window window) [0x00002] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Scripts/Data/Common/PopupManager.cs:249
at Battle.BattleNode.popupBattleOverWindow (GameLib.NotificationCenter.NotificationMessage msg) [0x003fc] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Scripts/UI/Component/Battle/BattleNode/BattleNode+Stop.cs:136
at Battle.BattleNode.<startInit>m__0 (GameLib.NotificationCenter.NotificationMessage msg) [0x00003] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Scripts/UI/Component/Battle/BattleNode/BattleNode+Main.cs:98
at GameLib.NotificationCenter.NotificationCenter.Post (System.String name, System.Object source, System.Object userInfo, Boolean limit) [0x00073] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Scripts/Libs/NotificationCenter/NotificationCenter.cs:130
at CupRankDataHandler.WebBattleEndHandler (GameHTTP.HTTPRequest request, GameHTTP.HTTPMessage response) [0x00076] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Scripts/Data/Education/Singleton/CupRankDataHandler.cs:681
at GameHTTP.HTTPRequest.HandleResponse (GameHTTP.HTTPMessage message) [0x00015] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Scripts/Libs/Network/HTTPRequest.cs:232
at GameHTTP.HTTPRequest.RequestSuccess (GameHTTP.HTTPMessage message) [0x0000a] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Scripts/Libs/Network/HTTPRequest.cs:220
at GameHTTP.WebSocketManager.ReceiveSocketMessage (System.Collections.Generic.Dictionary`2 dict) [0x000da] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Scripts/Libs/Network/WebSocketManager.cs:817
at GameHTTP.WebSocketManager.OnWebSocketMessage (BestHTTP.WebSocket.WebSocket webSocket, System.String message) [0x000b6] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Scripts/Libs/Network/WebSocketManager.cs:508
at BestHTTP.WebSocket.WebSocket.<OnInternalRequestUpgraded>m__0 (BestHTTP.WebSocket.WebSocketResponse ws, System.String msg) [0x00014] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Best HTTP (Pro)/BestHTTP/WebSocket/WebSocket.cs:401
at BestHTTP.WebSocket.WebSocketResponse.BestHTTP.IProtocol.HandleEvents () [0x0008a] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Best HTTP (Pro)/BestHTTP/WebSocket/WebSocketResponse.cs:569 StackTrace: at (wrapper managed-to-native) UnityEngine.Transform:INTERNAL_get_localScale (UnityEngine.Vector3&)
at UnityEngine.Transform.get_localScale () [0x00004] in /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/TransformBindings.gen.cs:135
at FairyGUI.DisplayObject.SetScale (Single xv, Single yv) [0x00007] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Plugins/FairyGUI/Scripts/Core/DisplayObject.cs:465
at FairyGUI.GLoader.UpdateLayout () [0x001ff] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Plugins/FairyGUI/Scripts/UI/GLoader.cs:485
at FairyGUI.GLoader.LoadFromPackage (System.String itemURL) [0x000b3] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Plugins/FairyGUI/Scripts/UI/GLoader.cs:334
at FairyGUI.GLoader.LoadContent () [0x00038] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Plugins/FairyGUI/Scripts/UI/GLoader.cs:312
at FairyGUI.GLoader.set_url (System.String value) [0x0001f] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Plugins/FairyGUI/Scripts/UI/GLoader.cs:76
at FairyGUI.Utils.HtmlImage.Create (FairyGUI.RichTextField owner, FairyGUI.Utils.HtmlElement element) [0x0008b] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Plugins/FairyGUI/Scripts/Utils/Html/HtmlImage.cs:75
at FairyGUI.Utils.HtmlPageContext.CreateObject (FairyGUI.RichTextField owner, FairyGUI.Utils.HtmlElement element) [0x001ae] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Plugins/FairyGUI/Scripts/Utils/Html/HtmlPageContext.cs:80
at FairyGUI.TextField.BuildLines () [0x00253] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Plugins/FairyGUI/Scripts/Core/Text/TextField.cs:585
at FairyGUI.TextField.EnsureSizeCorrect () [0x00018] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Plugins/FairyGUI/Scripts/Core/Text/TextField.cs:469
at FairyGUI.RichTextField.EnsureSizeCorrect () [0x00007] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Plugins/FairyGUI/Scripts/Core/Text/RichTextField.cs:146
at FairyGUI.DisplayObject.get_size () [0x00002] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Plugins/FairyGUI/Scripts/Core/DisplayObject.cs:386
at FairyGUI.GTextField.UpdateSize () [0x00030] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Plugins/FairyGUI/Scripts/UI/GTextField.cs:233
at FairyGUI.GTextField.set_text (System.String value) [0x0001c] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Plugins/FairyGUI/Scripts/UI/GTextField.cs:56
at FairyGUI.GTextField.Setup_AfterAdd (FairyGUI.Utils.XML xml) [0x00028] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Plugins/FairyGUI/Scripts/UI/GTextField.cs:328
at FairyGUI.GComponent.ConstructFromResource (System.Collections.Generic.List`1 objectPool, Int32 poolIndex) [0x0043a] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Plugins/FairyGUI/Scripts/UI/GComponent.cs:1400
at FairyGUI.GComponent.ConstructFromResource () [0x00004] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Plugins/FairyGUI/Scripts/UI/GComponent.cs:1246
at FairyGUI.UIPackage.CreateObject (FairyGUI.PackageItem item, System.Type userClass) [0x0007b] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Plugins/FairyGUI/Scripts/UI/UIPackage.cs:945
at FairyGUI.UIPackage.CreateObject (System.String resName) [0x0003a] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Plugins/FairyGUI/Scripts/UI/UIPackage.cs:889
at FairyGUI.UIPackage.CreateObject (System.String pkgName, System.String resName) [0x00010] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Plugins/FairyGUI/Scripts/UI/UIPackage.cs:375
at PopupWindow`1[T].OnInit () [0x00039] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Scripts/UI/Controller/Popup/PopupWindow.cs:142
at BattleOverUI.BattleResultWindow.OnInit () [0x00002] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Scripts/UI/Controller/Popup/BattleResultWindow.cs:35
at FairyGUI.Window._init () [0x00009] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Plugins/FairyGUI/Scripts/UI/Window.cs:433
at FairyGUI.Window.__uiLoadComplete () [0x00046] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Plugins/FairyGUI/Scripts/UI/Window.cs:427
at BaseUISource.Load (FairyGUI.UILoadCallback callback) [0x00058] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Scripts/UI/Controller/Popup/PopupWindow.cs:56
at FairyGUI.Window.Init () [0x0006f] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Plugins/FairyGUI/Scripts/UI/Window.cs:367
at FairyGUI.Window.__onShown () [0x0000d] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Plugins/FairyGUI/Scripts/UI/Window.cs:455
at FairyGUI.EventBridge.CallInternal (FairyGUI.EventContext context) [0x0003d] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Plugins/FairyGUI/Scripts/Event/EventBridge.cs:78
at FairyGUI.EventDispatcher.BroadcastEvent (System.String strType, System.Object data) [0x00095] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Plugins/FairyGUI/Scripts/Event/EventDispatcher.cs:359
at FairyGUI.EventListener.BroadcastCall () [0x0000e] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Plugins/FairyGUI/Scripts/Event/EventListener.cs:222
at FairyGUI.Container.AddChildAt (FairyGUI.DisplayObject child, Int32 index) [0x00087] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Plugins/FairyGUI/Scripts/Core/Container.cs:149
at FairyGUI.GComponent.ChildStateChanged (FairyGUI.GObject child) [0x000ff] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Plugins/FairyGUI/Scripts/UI/GComponent.cs:732
at FairyGUI.GComponent.AddChildAt (FairyGUI.GObject child, Int32 index) [0x000c7] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Plugins/FairyGUI/Scripts/UI/GComponent.cs:214
at FairyGUI.GComponent.AddChild (FairyGUI.GObject child) [0x0000e] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Plugins/FairyGUI/Scripts/UI/GComponent.cs:172
at FairyGUI.GRoot.ShowWindow (FairyGUI.Window win) [0x00003] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Plugins/FairyGUI/Scripts/UI/GRoot.cs:91
at FairyGUI.Window.Show () [0x00007] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Plugins/FairyGUI/Scripts/UI/Window.cs:177
at PopupManager.ShowWindow (FairyGUI.Window window) [0x00002] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Scripts/Data/Common/PopupManager.cs:249
at Battle.BattleNode.popupBattleOverWindow (GameLib.NotificationCenter.NotificationMessage msg) [0x003fc] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Scripts/UI/Component/Battle/BattleNode/BattleNode+Stop.cs:136
at Battle.BattleNode.<startInit>m__0 (GameLib.NotificationCenter.NotificationMessage msg) [0x00003] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Scripts/UI/Component/Battle/BattleNode/BattleNode+Main.cs:98
at GameLib.NotificationCenter.NotificationCenter.Post (System.String name, System.Object source, System.Object userInfo, Boolean limit) [0x00073] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Scripts/Libs/NotificationCenter/NotificationCenter.cs:130
at CupRankDataHandler.WebBattleEndHandler (GameHTTP.HTTPRequest request, GameHTTP.HTTPMessage response) [0x00076] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Scripts/Data/Education/Singleton/CupRankDataHandler.cs:681
at GameHTTP.HTTPRequest.HandleResponse (GameHTTP.HTTPMessage message) [0x00015] in /Users/xatest/Code/bitbucket/tradeandfight/Assets/Scripts/Libs/Network/HTTPRequest.cs:232
at GameHTTP.HTTPRequest.RequestSuccess (GameHTTP.HTTPMessage message) [0x0000a] in /Users/xatest/Code/bitbucket/trad<message truncated>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment