Today I transferred the project to ios platform and was ready to send a test package, but I kept reminding when I was building
Error building Player because scripts have compile errors in the editor
And then there are no other mistakes, just like many students who have encountered the same problem, first baidu, Most of the answers are using UnityEditor; As a result of
But for this big project, a script using UnityEditor is killing people. Though I did seek it out, it was not for that reason
Later, I shut unity down and restarted the computer (network management style). When I opened Unity again, there was no longer only one error in the build.
Find the corresponding error point after all the corrections, the successful compilation.
Error building Player because scripts have compile errors in the editor
And then there are no other mistakes, just like many students who have encountered the same problem, first baidu, Most of the answers are using UnityEditor; As a result of
But for this big project, a script using UnityEditor is killing people. Though I did seek it out, it was not for that reason
Later, I shut unity down and restarted the computer (network management style). When I opened Unity again, there was no longer only one error in the build.
Find the corresponding error point after all the corrections, the successful compilation.