Import Stuck on Unity 2019.3.0f5

Options
Hello,

We Updated our game to 2019.3.0f5 earlier this week from 2019.2.12f1.
We started having problem while opening Unity, the import get stuck at this file : PunSceneSettings.cs
When killing Unity, the settings are being re-created and lose all informations, Unity can open on an empty settings file. It’s working locally after 2-3 tries on each PC.
But it’s problematic for our build system that download the cache, so it keep importing indefinatly.

When looking at unity log we get this message in loop :

```
Start importing Assets/Photon/PhotonUnityNetworking/Code/Editor/PunSceneSettingsFile.asset using Guid(d0aacb83307022d449e90a09d28222ae) Importer(-1,00000000000000000000000000000000)
Done importing asset: 'Assets/Photon/PhotonUnityNetworking/Code/Editor/PunSceneSettingsFile.asset' (target hash: '2440f8f6ab9758d59caf6bb371d54432') in 0.003486 seconds
Import parameters got modified during import
UnityEditor.AssetDatabase:CreateAsset(Object, String)
Photon.Pun.PunSceneSettings:get_Instance() (at Assets\Photon\PhotonUnityNetworking\Code\Editor\PunSceneSettings.cs:91)
Photon.Pun.PunSceneSettings:SanitizeSettings() (at Assets\Photon\PhotonUnityNetworking\Code\Editor\PunSceneSettings.cs:125)
Photon.Pun.PhotonEditor:OnProjectChanged() (at Assets\Photon\PhotonUnityNetworking\Code\Editor\PhotonEditor.cs:221)
UnityEditor.EditorApplication:Internal_CallProjectHasChanged()

[C:\buildslave\unity\build\Modules/AssetDatabase/Editor/V2/AssetImportManager.cpp line 332]
(Filename: Assets/Photon/PhotonUnityNetworking/Code/Editor/PunSceneSettings.cs Line: 91)
```

Don’t know if you already noticed that problem while upgrading, but we might need some help to get our build working once again !

Thanks !

Comments

  • Tobias
    Options
    Thanks for the report.
    We usually don't check Beta's anymore but as Unity claims this is close to a final version, it's time for us to check.
    Depending on how Unity's new import works, it may take a bit to adjust our code.
  • We have the exact same problem.

    Changed Unity versions, and our build pipeline broke because it was constantly stuck on importing PhotonServerSettings.

    We have confirmed that devs who had Photon in their Library, it opened fine. For our CICD pipeline and any dev who didn't have Library cache or started afresh clone, it was broken and would never open!!!

    @Tobias can you please provide an update on this problem urgently!
  • JohnTube
    JohnTube ✭✭✭✭✭
    Options
    Hi @camille_ias,

    Thank you for choosing Photon!
    Changed Unity versions
    From which version to which version?
    What PUN version are you using now?