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

Shutdown() call on EndPlay() missing from setup guide #39

Closed
JJRWalker opened this issue Sep 27, 2024 · 1 comment
Closed

Shutdown() call on EndPlay() missing from setup guide #39

JJRWalker opened this issue Sep 27, 2024 · 1 comment

Comments

@JJRWalker
Copy link

Not really a huge issue, just noticed an issue when trying to use cog to load a level in unreal, if you do not call Shutdown() on EndPlay() in the gamestate.

This caused fatal errors in our use case where resources were not initialised correctly after. Seemed to cause a bad state in the context sometimes after level load even if closing all windows before the load started. If I didn't close all windows before level load, there would be an issue as soon as the level started in most cases.

I probably should have thought to call Shutdown() myself, I'll admit it took me longer than it should have to think of that. But might be best to add to the guide so other people don't encounter similar issues.

@arnaud-jamin
Copy link
Owner

fixed in 19d8855

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