The Photon Forum
is Closed Permanently.

After many dedicated years of service, we have made the decision to retire our Forum and switch to read-only: we´ve saved the best to last! Your search result can be found below. Plus, we offer support via these channels:

Try Our
Documentation

Please check if you can find an answer in our extensive documentation on PUN.

Join Us
on Discord

Meet and talk to our staff and the entire Photon-Community via Discord.

Read More on
Stack Overflow

Find more information on Stack Overflow (for Circle members only).

Write Us
an E-Mail

Feel free to send your question directly to our developers.

Deleting Library folder and opening results in an infinite import loop

FromTheFuture
2021-05-13 15:22:46

Hi,

I'm having a problem where I'm upgrading a project from 2019 to 2020. I delete the Library folder and open in 2020, and it gets caught in an asset import infinite loop:

I saw a previous discussion that was dealing with a similar issue when the Photon directory was moved from the default location, but the fix for that issue that has been in place for a while seems to work fine.

The issue seems to be that TypeCatalogue does a Resources load (in EnsureExists) to check to see if the asset exists while the system is doing the huge AssetDatabase refresh, which fails and causes a code path where that asset is needlessly created again, which the AssetDatabase sees and thus triggers a reimport - which in turn causes EnsureExists to get called again, etc - going on forever.

It seems like this would be happening to anyone if they delete their Library folder and reimport. Am I missing something?

Thanks!

Comments

Back to top