The Error Building Player because scripts had Compiler errors occurred when packing AB packages
Generally occur when the problem mostly using UnityEditor namespace, solution is new and the Editor folder put the script in the space, but for ab to check the packaging can be more than just a namespace, please note that the Editor folder you script the macro definition of whether to use the UNITY_EDITOR or UNITY_EDITOR_WIN two macro definition, if you are using the macro definition is then packaged ab package when also can appear similar problem.
Just try UNITY_STANDALONE_WIN Windows and UNITY_STANDALONE_OSX or just UNITY_STANDALONE_OSX alone if you just want to test it on the Win or Mac platform
Read More:
- Error building player because scripts have compile errors in the editor
- [unity] Android package error java.lang.ClassNotFoundException Did not find class com.unity3d . player.MainActivity
- C# Compiler Errors
- Unity Android packaging error “UnityEditor.BuildPlayerWindow+BuildMethodException” solution record
- Android studio reported an error in the release package: Lint found fatal errors while assembling a release target
- About errors:! Package natbib error: Bibliography not compatible with author year citations
- When angular4.0 starts the project, an error is reported: the “@ angular / compiler cli” package was not properly installed
- [Unity] Solve the problem of IOException: Failed to Copy… in Unity packaging apk
- Springboot starts, closes, and restarts scripts as jar packages
- [vulnerability recurrence] phpMyAdmin scripts / setup.php deserialization vulnerability (wooyun-2016-199433)
- Idea Maven project uses package to package and report error (package does not exist)
- Neko RPGXP player for Korea
- Ubuntu: Failed to initialize compiler: object java.lang.Object In compiler mirror not found
- How to select the jar package version for Maven package when the jar package versions referenced by multiple modules are inconsistent
- Notes on unity project_ Unity webplayer failed to update unity web player
- View – neditor – empty packaging style
- Error loading in pyinstaller packaging
- Error report and flashback after packaging pynput into exe
- [Solved] Unity Error: Deterministic compilation failed. You can disable Deterministic builds in Player Settings
- SQLServerException: The server failed to resume the transaction. Desc:ab00000002