Resources.assets is corrupted!

Options
Well, we've got ourselves a problem. I am running Unity 5.3.1, and I just updated photon to it's most recent version. Everything was working until I built a standalone, and found that the client wasn't connecting to the cloud server. In hopes of fixing this, I cleared the RPC cache, and that's when things went from bad to worse.

A nearly empty scene, with nothing but a empty gameobject with a photon view (Not even a camera!) causes the standalone windows executable to crash on startup, logging the error "Resources.assets is corrupt!

I should also note that the specific error says that there was an access violation, however that error has accompanied this corruption problem in the past, with different solutions. I should note that we've dealt with this error in the past, and as such I have tried any and all solutions not related to photon before posting this. I have also tried reinstalling photon to my project to no avail. I am certain that photon is the cause of this, and look forward to any advice anybody can give me. I'm looking forward to testing my code again.

Comments

  • vadim
    Options
    Did you try to build and run one of PUN demos in new project with only PUN imported?
  • Well, I have now! Thanks for the suggestion. It seems a new project using one of Photon's demos runs perfectly fine. However, even with photon's latest version, my project fails to launch when a photon view is included. Might this have something to do with the RPC cache? As I stated, this problem first occurred when I cleared the RPC cache with purpose of debugging another problem.

    (Time passes)

    OK, so I left off writing this to do some work with my dev team (That being the one guy that helps me, heheh) and we managed to fix this problem by creating a new project and moving all our assets into that. We re-imported photon into that project, and voila, there you go. Organization of our assets was a long time in the making anyways. Hope this helps anybody who manages to stumble upon it in the future.