Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scripts can't be loaded #418

Open
nonic-coco opened this issue Aug 27, 2021 · 0 comments
Open

Scripts can't be loaded #418

nonic-coco opened this issue Aug 27, 2021 · 0 comments
Assignees
Labels
help wanted Extra attention is needed mixed-reality/prod mr-dev/tech mrtk-unity Issues related to MRTK-Unity docs Pri2

Comments

@nonic-coco
Copy link

[Enter feedback here]

I just followed this page but I've got stuck in some bugs.

In Creating and preparing the scene, when I selected the DataManager object in the Hierarchy window and looked throught the Inspect window, the unity editor reported a warning: "The associated script can't be loaded. Please fix any compile errors and open Prefab Mode and assign a valid script to the Prefab Asset." about the script AppDispatcher.cs, SceneController.cs and DataManager.cs. The scripts I used are just from the unitypackage provided in this page and I've never changed them.

image

image

I googled it but failed to solve it. I'm sure their filename matche the class defined in the scripts. So It seems that there are some compile errors in the C# scripts mentioned above, or in the scripts referred by the them.
I'm a new learner in C#, Unity and MR develop. And I have no idea how to solve it now.

Thanks


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

@typride typride added mrtk-unity Issues related to MRTK-Unity docs help wanted Extra attention is needed labels May 18, 2022
@typride typride self-assigned this May 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed mixed-reality/prod mr-dev/tech mrtk-unity Issues related to MRTK-Unity docs Pri2
Projects
None yet
Development

No branches or pull requests

3 participants