microsoft / LLMR

MIT License
31 stars 9 forks source link

When opening the project in Unity, regardless of the platform (Windows or Mac), the scripts are missing from the game objects. #3

Closed prasanthsasikumar closed 3 months ago

prasanthsasikumar commented 3 months ago

Steps to Reproduce:

  1. Clone the GitHub repository using GitHub Desktop tool.
  2. Open the project in Unity (version 2022.3.11f1, recommended version for the project).
  3. Install the Roslyn compiler using the package manager.
  4. Observe that scripts are missing from game objects upon project opening.

Additional Information:

Possible Cause: Based on research, the issue could be related to improper meta file uploading.

Actions Taken: I have tried the following methods to resolve the issue:

diegomazala commented 3 months ago

+1 Same here

jessvb commented 3 months ago

+1 - Same thing on my end

JiangongChen commented 3 months ago

+1 The same issue

Kappa666 commented 3 months ago

Looking into this and will update once we figure it out!

Kappa666 commented 3 months ago

While am working on a solution, here's a packaged version that hopefully bypasses these issues. LLMR.zip

davidhu2019 commented 3 months ago

.meta files are missing for this project. The .gitignore file used in this repo is for VisualStudio, which ignores .meta files at line 76. You might want to consider delete that line, or use Unity.gitignore.

Kappa666 commented 3 months ago

@davidhu2019 Thanks, I'm not sure how the wrong .gitignore snuck in, but that was the source of the problem - my testing suggests the issue has been fixed and will close it for now.