VeriorPies / ParrelSync

(Unity3D) Test multiplayer without building
MIT License
4.67k stars 322 forks source link

[BUG] Cannot create clone - Packages 'root' argument directory? #29

Closed TheYellowArchitect closed 3 years ago

TheYellowArchitect commented 3 years ago

Describe the bug I pressed "Open in New Editor" and I got the error:

Failed to resolve packages: root argument is not a directory. No packages loaded. A re-import of the project may be required to fix the issue or a manual modification of C:/Users/unity/Desktop/Unity/Double Damnation/Co-Op Prototype/46e/Co-Op Prototype_clone_0/Packages/manifest.json file.

If I press Continue, and open the project, I get:

The type UnityEngine.MonoBehaviour' has been forwarded to an assembly that is not referenced. Consider adding a reference to assemblyUnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' error CS1070: Assets/Bearded Man Studios Inc/Generated/NetworkManager.cs(7,40)

To Reproduce

  1. Import Forge Networking Remastered
  2. Open Unity (2018.1.1f1?)
  3. Clear all up all legacy issues https://github.com/VeriorPies/ParrelSync/issues/27
  4. Create New Clone
  5. Clone Created Succesfully
  6. Open New Editor
  7. Error 14
  8. Continue anyway to see if it works 14

Expected behavior Given it was suggested in the Forge Networking discord, I expected it to work. To simply create a new Unity instance.

Enviroment

TheYellowArchitect commented 3 years ago

https://github.com/VeriorPies/ParrelSync/issues/23 https://github.com/VeriorPies/ParrelSync/issues/24

It turns out this is the same issue as those. I did what @tarss said (delete package of the clone and copy-paste original there), and it works.

It is a hack, so I ask, whoever maintains this, should I close this issue? My issue is solved, after all hahaha

Edit: I managed to get it working, the software works as expected, no issues (once I managed to run it), thank you for making this!

314pies commented 3 years ago

Duplicate of #23