Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] looks like if i check a never runned cpu's storage will cause the game to crash #7

Open
4 tasks done
PoiDaisuki opened this issue Nov 30, 2024 · 0 comments
Open
4 tasks done
Labels
bug Something isn't working

Comments

@PoiDaisuki
Copy link

在提问之前...

  • 我理解 Issue 是用于反馈和解决问题的,而非吐槽评论区,将尽可能提供更多信息帮助问题解决
  • 我填写了简短且清晰明确的标题,以便开发者在翻阅 Issue 列表时能快速确定大致问题。而不是“一个建议”、“卡住了”等
  • 我使用的是当前更新版本的最新版,且已查看版本发布至今和 Pull Requests 中尚未发布的更新内容,并未提及该 Bug 已被修复的情况
  • 我已检查了置顶议题(Pinned Issue)(公告)、活跃议题(Open Issue)、已关闭议题(Closed Issue),确认我的问题未被提及

问题描述

build a new cpu and check its storage data without running it first, then you get a null reference exception
obviously the storage object doesn't get initialized or being created


ONICPU.FCPU.<OnShowProgramEditor>b__96_14 () (at F:/Programming/GameProjects/ONICPU/ONICPU/FCPU.cs:943)
ONICPU.FCPUEditorUI.ShowStorage () (at F:/Programming/GameProjects/ONICPU/ONICPU/FCPUEditorUI.cs:271)
ONICPU.ui.FButton.KButton_onBtnClick (KKeyCode obj) (at F:/Programming/GameProjects/ONICPU/ONICPU/ui/FButton.cs:123)
KButton.SignalClick (KKeyCode btn) (at <5dfe0ae6d45544628b5ae53433ea03d4>:0)
KButton.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) (at <5dfe0ae6d45544628b5ae53433ea03d4>:0)
UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) (at <6405a4abeb6c490388904d755e3f6782>:0)
UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) (at <6405a4abeb6c490388904d755e3f6782>:0)
UnityEngine.EventSystems.EventSystem:Update()

Build: U53-643502-SD

Version

Build: U53-643502-SD
11 月 22 日 下午 12:03

所用JS或汇编代码

not needed

截图或录屏

not needed either

还有别的吗?

No response

@PoiDaisuki PoiDaisuki added the bug Something isn't working label Nov 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant