sniffle6 / Tween-Library

A simple library for tweening UI
MIT License
18 stars 4 forks source link

"it is not allowed to open a scene in a readonly package". #2

Open tacman opened 3 years ago

tacman commented 3 years ago

When following the video tutorial, I can't open the scene in the example package, I get the error message

"it is not allowed to open a scene in a readonly package".

I found this at https://forum.unity.com/threads/cant-save-scenes-into-packages-cant-load-scenes-from-packages.590764/

From Pascal:

Git packages are treated as immutable like a registry package.

Internally, we allow distribution of scene in packages only for the sample use case. We have a flow for that in the Package Manager UI that is undocumented for now. If this is interesting for you, I would not mind explaining to you how to set up samples in a package and make the sample button show up in the package manager UI.

waldfruchtbaer commented 3 years ago

Had the same error message during the tutorial. The following worked for me:

  1. I installed Git from the official sources on my computer (Linux Mint)
  2. started Git
  3. back to Unity, reinstalled the sample data and the scene could be opened immediately

Great tutorial by the way!

tacman commented 3 years ago

Hmm, but you still re-installed it from Unity via the "Install from Github"?

I used to think that github would be better than the package manager as a place for free tools, but now I'm not so sure. Regardless, it seems like a unity bug to mark the package are readonly (or immutable, which I've also seen in their documentation).

On Mon, Nov 16, 2020 at 3:37 PM waldfruchtbaer notifications@github.com wrote:

Had the same error message during the tutorial. The following worked for me:

  1. I installed Git from the official sources in my computer (Linux Mint)
  2. started Git
  3. back to Unity, reinstalled the sample data and the scene could be opened immediately

Great tutorial by the way!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/sniffle6/Tween-Library/issues/2#issuecomment-728313144, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEXIQOSJGUUKZPMEKP3OTDSQGEQ3ANCNFSM4TKIKKLQ .