太吾绘卷吧 关注:253,677贴子:4,665,681

红字nullreferenceexception

只看楼主收藏回复

打开建筑页面或者居民名册就会出现nullreferenceexception,然后过几个月就卡死了,之后重启又没事,过几个月又开始循环


IP属地:北京1楼2022-10-20 13:35回复
    同样的 但是这个bug不知道什么时候会触发 想去触发它好报给螺舟的时候 又没事了


    IP属地:新加坡来自Android客户端2楼2022-10-20 14:04
    收起回复
      试试看用英文键盘


      IP属地:浙江3楼2022-10-20 14:07
      收起回复
        我也遇到这个了,打完入魔人,杀死或治好都报了这个红字,然后过月的时候卡住,但是我mod用的多,不清楚是不是mod原因


        IP属地:黑龙江来自Android客户端4楼2022-10-20 14:14
        收起回复
          我也有这个,怀疑是太吾优化mod的问题,你试试关了之后会不会消失


          IP属地:加拿大来自iPhone客户端5楼2022-10-20 14:15
          收起回复
            我也出,而且不容易复现


            IP属地:山东来自Android客户端6楼2022-10-20 14:24
            回复
              难以复现的狡猾虫虫


              IP属地:新疆来自Android客户端7楼2022-10-20 14:30
              回复
                +1,有时候还会过月坏档,但是sl后又没事了,真神奇


                IP属地:河北来自Android客户端8楼2022-10-20 14:39
                收起回复
                  我也是,跳这个,也不知道是哪个MOD的事
                  NullReferenceException
                  at (wrapper managed-to-native) UnityEngine.Behaviour.set_enabled(UnityEngine.Behaviour,bool)
                  at AtlasInfo.SetImageSprite (CImage image, System.String spriteName) [0x00112] in C:\GitLab-Runner\builds\n1JyyH3P\0\scroll-of-taiwu\taiwu-remake\Assets\Scripts\FrameWork\UISystem\Atlas\AtlasInfo.cs:189
                  at CImage.SetSprite (System.String spriteName, System.Boolean autoNativeSize, System.Action onSpriteChange) [0x0004a] in C:\GitLab-Runner\builds\n1JyyH3P\0\scroll-of-taiwu\taiwu-remake\Assets\Scripts\FrameWork\UISystem\UIElements\CImage.cs:34
                  at UICommon.Character.Elements.InfoItem.SetIcon (System.String iconSpriteName) [0x00001] in C:\GitLab-Runner\builds\n1JyyH3P\0\scroll-of-taiwu\taiwu-remake\Assets\Scripts\Game\UILogic\UICommon\Character\CommonElement\InfoItem.cs:69
                  at UICommon.Character.CharacterGender.FillElement () [0x00020] in C:\GitLab-Runner\builds\n1JyyH3P\0\scroll-of-taiwu\taiwu-remake\Assets\Scripts\Game\UILogic\UICommon\Character\CommonLogic\CharacterGender.cs:74
                  at (wrapper delegate-invoke) <Module>.invoke_void()
                  at CharacterDataMonitor.BasicInfoMonitor.Refresh () [0x00036] in C:\GitLab-Runner\builds\n1JyyH3P\0\scroll-of-taiwu\taiwu-remake\Assets\Scripts\Game\Model\CharacterDataMonitor\BasicInfoMonitor.cs:316
                  at UICommon.Character.CharacterUIElement.Refresh () [0x00001] in C:\GitLab-Runner\builds\n1JyyH3P\0\scroll-of-taiwu\taiwu-remake\Assets\Scripts\Game\UILogic\UICommon\Character\CommonLogic\CharacterUIElement.cs:72
                  at UICommon.Character.CharacterUIElement.set_CharacterId (System.Int32 value) [0x0004c] in C:\GitLab-Runner\builds\n1JyyH3P\0\scroll-of-taiwu\taiwu-remake\Assets\Scripts\Game\UILogic\UICommon\Character\CommonLogic\CharacterUIElement.cs:36
                  at UI_TaiwuVillagers+<>c__DisplayClass28_0.<OnRenderChar>b__1 (UICommon.Character.CharacterUIElement e) [0x00000] in C:\GitLab-Runner\builds\n1JyyH3P\0\scroll-of-taiwu\taiwu-remake\Assets\Scripts\Game\UILogic\UI_TaiwuVillagers.cs:269
                  at System.Collections.Generic.List`1[T].ForEach (System.Action`1[T] action) [0x00024] in <e1319b7195c343e79b385cd3aa43f5dc>:0
                  at UI_TaiwuVillagers.OnRenderChar (System.Int32 index, Refers charView) [0x00199] in C:\GitLab-Runner\builds\n1JyyH3P\0\scroll-of-taiwu\taiwu-remake\Assets\Scripts\Game\UILogic\UI_TaiwuVillagers.cs:269
                  at InfinityScroll.RenderItem (System.Int32 index, Refers refer) [0x0005c] in C:\GitLab-Runner\builds\n1JyyH3P\0\scroll-of-taiwu\taiwu-remake\Assets\Scripts\FrameWork\UISystem\Components\InfinityScroll.cs:343
                  at InfinityScroll.HandlerWaitRefresh () [0x002c2] in C:\GitLab-Runner\builds\n1JyyH3P\0\scroll-of-taiwu\taiwu-remake\Assets\Scripts\FrameWork\UISystem\Components\InfinityScroll.cs:525
                  at InfinityScroll.LateUpdate () [0x00001] in C:\GitLab-Runner\builds\n1JyyH3P\0\scroll-of-taiwu\taiwu-remake\Assets\Scripts\FrameWork\UISystem\Components\InfinityScroll.cs:197
                  (Filename: <e1319b7195c343e79b385cd3aa43f5dc> Line: 0)


                  IP属地:内蒙古9楼2022-10-20 17:12
                  回复
                    然后过月就报这个。
                    NullReferenceException
                    at (wrapper managed-to-native) UnityEngine.Behaviour.set_enabled(UnityEngine.Behaviour,bool)
                    at AtlasInfo.SetImageSprite (CImage image, System.String spriteName) [0x00112] in C:\GitLab-Runner\builds\n1JyyH3P\0\scroll-of-taiwu\taiwu-remake\Assets\Scripts\FrameWork\UISystem\Atlas\AtlasInfo.cs:189
                    at CImage.SetSprite (System.String spriteName, System.Boolean autoNativeSize, System.Action onSpriteChange) [0x0004a] in C:\GitLab-Runner\builds\n1JyyH3P\0\scroll-of-taiwu\taiwu-remake\Assets\Scripts\FrameWork\UISystem\UIElements\CImage.cs:34
                    at UICommon.Character.Elements.InfoItem.SetIcon (System.String iconSpriteName) [0x00001] in C:\GitLab-Runner\builds\n1JyyH3P\0\scroll-of-taiwu\taiwu-remake\Assets\Scripts\Game\UILogic\UICommon\Character\CommonElement\InfoItem.cs:69
                    at UICommon.Character.CharacterHappiness.FillElement () [0x00031] in C:\GitLab-Runner\builds\n1JyyH3P\0\scroll-of-taiwu\taiwu-remake\Assets\Scripts\Game\UILogic\UICommon\Character\CommonLogic\CharacterHappiness.cs:50
                    at (wrapper delegate-invoke) <Module>.invoke_void()
                    at CharacterDataMonitor.DetailInfoMonitor.OnNotifyData (GameData.GameDataBridge.NotificationWrapper wrapper) [0x00286] in C:\GitLab-Runner\builds\n1JyyH3P\0\scroll-of-taiwu\taiwu-remake\Assets\Scripts\Game\Model\CharacterDataMonitor\DetailInfoMonitor.cs:193
                    at CharacterDataMonitor.CharacterMonitor.OnNotifyData (GameData.GameDataBridge.NotificationWrapper wrapper) [0x0016d] in C:\GitLab-Runner\builds\n1JyyH3P\0\scroll-of-taiwu\taiwu-remake\Assets\Scripts\Game\Model\CharacterDataMonitor\CharacterMonitor.cs:168
                    at CharacterMonitorModel.OnNotifyCharacterData (System.Collections.Generic.List`1[T] notificationList) [0x00265] in C:\GitLab-Runner\builds\n1JyyH3P\0\scroll-of-taiwu\taiwu-remake\Assets\Scripts\Game\Model\CharacterDataMonitor\CharacterMonitorModel.cs:315
                    at GameData.GameDataBridge.GameDataBridge.ProcessNotifications () [0x00296] in C:\GitLab-Runner\builds\n1JyyH3P\0\scroll-of-taiwu\taiwu-remake\Assets\Scripts\Game\GameDataBridge\GameDataBridge.cs:446
                    at GameData.GameDataBridge.UnityAdapter.GameDataBridgeUnityAdapter.Update () [0x00039] in C:\GitLab-Runner\builds\n1JyyH3P\0\scroll-of-taiwu\taiwu-remake\Assets\Scripts\Game\GameDataBridge\UnityAdapter\GameDataBridgeUnityAdapter.cs:40
                    (Filename: C:/GitLab-Runner/builds/n1JyyH3P/0/scroll-of-taiwu/taiwu-remake/Assets/Scripts/FrameWork/UISystem/Atlas/AtlasInfo.cs Line: 189)


                    IP属地:内蒙古10楼2022-10-20 17:16
                    回复
                      你有没有装更多信息的MOD?


                      IP属地:内蒙古11楼2022-10-20 17:31
                      收起回复
                        我也出这个,出了不管过月必卡死,卡死的情况下还能存档,出了马上存档读档就没事。


                        IP属地:四川12楼2022-10-20 21:11
                        收起回复
                          我也遇到了,没开过mod。重新打开游戏就会消失。主要是出现在安排建筑物的村民的时候,打开村民选页下面就疯狂弹nullreferenceexception。不太清楚原因。


                          IP属地:浙江来自Android客户端13楼2022-10-20 23:02
                          回复
                            遇到过,换地方过月解决了


                            IP属地:上海来自Android客户端14楼2022-10-21 00:38
                            回复
                              我也遇到了,这真离谱


                              IP属地:河南来自Android客户端15楼2022-10-21 02:28
                              回复