Compile errors

We have had some problems when we run the game. Our aim is to develope an app for hololens 2 for an university project. Once imported the mrtks, when we try to run the program it says that we can’t run it because of some compiling errors, the ones in the picture below. Does anyone know how to solve them? Thanks for the help

If that stuff came from another package “frozen in time,” it might be necessary to either:

  • run it on a different version of Unity (the one it was intended for)

  • upgrade the packages it does use

  • remove any packages not in use (may require updating other parts of the package too)

Here’s more scribblings:

Extra unwanted packages in new projects (collab, testing, rider and other junk):

About the fastest way I have found to make a project and avoid all this noise is to create the project, then as soon as you see the files appear, FORCE-STOP (hard-kill) Unity (with the Activity Manager or Task Manager), then go hand-edit the Packages/manifest.json file as outlined in the above post, then reopen Unity.

Sometimes the package system gets borked from all this unnecessary churn and requires the package cache to be cleared:

i’m sorry but me and my colleague are deeply ignorant (this is the first time we approach unity) and we were not able to interpret your answer, so could you please reformulate your answer in a simpler way? Thank you very very much in advance.
Moreover what should we edit in the packages/manifest.json?

It won’t be possible to do anything meaningful in Unity unless you and your colleague are ready to step up to learn.

Everything I know about packages is linked above. Now it is your turn to explore the problem space.

This approach, taking one tiny step at a time, is a great approach.

Otherwise, start back with where you got that package and do the research to find why it doesn’t work in your specific context.

Imphenzia: How Did I Learn To Make Games:

The purpose of this forum is to assist people who are ready to learn by doing, and who are unafraid to get their hands dirty learning how to code, particularly in the context of Unity3D.

This assumes you have at least written and studied some code and have run into some kind of issue.

If you haven’t even started yet, go check out some Youtube videos for whatever game design you have in mind. There are already many examples of the individual parts and concepts involved, as there is nothing truly new under the sun.

If you just want someone to do it for you, you need go to one of these places:

https://livehelp.unity.com/?keywords=&page=1&searchTypes=lessons

Remember this is YOUR game, not ours. We have our own games we’re working on.

Permit me to offer a more practical alternative to whatever that was…

a) where did you get the project/code you are using presently? I assume you didn’t just start writing it but are following some sort of tutorial/class thing.

b) is the author of that resource and/or other users of that resource available to help? They may have solved the issue on that very project.

c) are you at the very first step in process? If there are say 3 items to set up and import, etc. can you complete step 1 and assess that “it still works”? Try not to move onto step 2, 3, etc. if the first one doesn’t seem to work.

d) and obviously if you are following some instructions make sure that your basic environment is set up the same way so the same version of the Unity editor, etc. You don’t need the same version of Unity Hub but I wouldn’t migrate code to a newer version of the Unity editor if you can’t get it to work on the one they suggest you use.

Hope this helps.

1 Like