i created my new unity project about 4 days ago and everything was fine, when i opened my project today, and tried to move a c# script into a folder it would not move, but when i made a brand new folder and tried moving it into there it worked. So it just doesnt work with folders i made in the past. i also made a new test project and i could move around assets and scripts perfectly fine. does anyone know how to fix this?
If you can’t untangle what you’ve done and you are not using source control, your two basic options are:
- keep working at it until you untangle it (see debugging steps below)
- use your new project and gradually move the files from your current project in until it works
By debugging you can find out exactly what your program is doing so you can fix it.
Use the above techniques to get the information you need in order to reason about what the problem is.
You can also use Debug.Log(...); statements to find out if any of your code is even running. Don’t assume it is.
Once you understand what the problem is, you may begin to reason about a solution to the problem.
Remember with Unity the code is only a tiny fraction of the problem space. Everything asset- and scene- wise must also be set up correctly to match the associated code and its assumptions.
If you find anything mysterious, try this template:
How to report your problem productively in the Unity3D forums:
This is the bare minimum of information to report:
- what you want
- what you tried
- what you expected to happen
- what actually happened, log output, variable values, and especially any errors you see
- links to actual Unity3D documentation you used to cross-check your work (CRITICAL!!!)
The purpose of YOU providing links is to make our job easier, while simultaneously showing us that you actually put effort into the process. If you haven’t put effort into finding the documentation, why should we bother putting effort into replying?