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

Cache Issue #184

Open
iwarner opened this issue Feb 3, 2024 · 4 comments
Open

Cache Issue #184

iwarner opened this issue Feb 3, 2024 · 4 comments

Comments

@iwarner
Copy link

iwarner commented Feb 3, 2024

I have added Scatter Cache

On install no cache file is created, defaults to proton scatter addon cache location

I created - it worked, but on re-load of the game it crashes without being able to click anything

I deleted the cache file, and the app then works - but obviously complains there is no cache file

Godot 4.2.1 - Mac

@florianvazelle
Copy link
Contributor

Hi 👋

I'll try to help you, but I have a few questions:

  • It crash when you reload the game, or the editor ?
  • Do you have some logs before the crash ? Or it more like an endless loading ?
  • Do you use the last git version of the addon ? Or the version in the assetlib ?

I submit two PR to fix some issues with the scatter cache node (#180 & #181), but they are not merged now, and I don't think its related to your issue but this can help

@iwarner
Copy link
Author

iwarner commented Feb 5, 2024

Hiya

I'll try to help you, but I have a few questions:

It crash when you reload the game, or the editor ?

The editor

Do you have some logs before the crash ? Or it more like an endless loading ?

Its more like an endless loader

Do you use the last git version of the addon ? Or the version in the assetlib ?

GIT Verrsion

I submit two PR to fix some issues with the scatter cache node (#180 & #181), but they are not merged now, and I don't think its related to your issue but this can help

Ok I will try which should I download first?

Be great to include a doc maybe on how to create the cache resource file, and where this should be stored.

@florianvazelle
Copy link
Contributor

florianvazelle commented Feb 5, 2024

I can't reproduce locally 🤔

Can you make a small reproducible example? Maybe it's a Mac issue, or specific to your Scatter nodes / models

Normally, you can create a cache resource anywhere

  1. In the Filesystem, click on Create > Resource

Screenshot_20240205-185047__01.jpg

  1. Search for ScatterCacheResource & Create it

Screenshot_20240205-185058__01.jpg

  1. Select the new ScatterCacheResource from the ScatterCache

Screenshot_20240205-185119__01.jpg

And can you try it with thread disabled ?

Screenshot_20240205-184615__01.jpg

@SpeckDaKuhLeer
Copy link

Hi, stumbled upon this thread because I had the same issue. The scene worked fine when I started it in the editor, but as soon as I closed the editor and reopened the project while a cache file existed the editor froze during startup.

The scene loaded, but stopped with a frozen image. It looked like an unshaded scene without any of the scatter objects and the yellow loading symbol at the position of the scatter object was visible. I waited for roughly 2 minutes, nothing happened.

I tried to remove objects one by one and make the scene simpler, because I was using about 20 proton scater nodes. However the game editor kept crashing on startup. I even tried a single default scatter node (bricks) with a shader cache, it didn't work.

I created a new project, was not able to recreate it. The problem now is (well at least to solve the issue) I removed every scatter related node from the scene, restarted the editor, now it works even with the same scene setup as before.

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

3 participants