Immersive-Foundation / IMM

Immersive IMM Format and Player
Apache License 2.0
49 stars 13 forks source link

ImmUnitySampleProject is broken #1

Open andybak opened 3 years ago

andybak commented 3 years ago

Several issues:

  1. The class ImmViewer lives in a file called QuillViewer which causes an error
  2. Possibly because of this all script references in the scene are broken
  3. The project is missing the Packages and ProjectSettings directories which can cause many problems down the line
  4. the .gitignore should be based on https://github.com/github/gitignore/blob/master/Unity.gitignore with the Unity paths adjusted to reflect the fact the Unity project isn't the root of the repo. (Actually - I would probably recommend splitting the Unity project out to it's own repo - it usually makes life a lot simpler)
EcoEditor commented 2 years ago

Please note that the file name and the .cs script name are not the same - this cause an issue. Rename the script file name to ImmViewer.cs (same as the script name)