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

GameEntry 里面的 s_GameFrameworkComponents 没有释放 #65

Open
le888 opened this issue Jun 4, 2022 · 1 comment
Open

GameEntry 里面的 s_GameFrameworkComponents 没有释放 #65

le888 opened this issue Jun 4, 2022 · 1 comment

Comments

@le888
Copy link

le888 commented Jun 4, 2022

s_GameFrameworkComponents 没有释放,在重启unity的时候会触发保存了脏数据导致报错。

在OnDestroy 调用s_GameFrameworkComponents.Clear(); 解决了此问题

@pitaya-V
Copy link

Shutdown方法里面调用了s_GameFrameworkComponents.Clear()的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants