When I try to build with unity, I get an error.

Asked 2 years ago, Updated 2 years ago, 77 views

There was an error in machine learning at unity.
I use ml-agents.
example_file,
While building to create 3dball.app,

UnityEditor.BuildPlayerWindow+BuildMethodException: Error building Player cause scripts have compile errors in the editor
  at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer(UnityEditor.BuildPlayerOptions)[0x00234]in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:190 
  at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x0007f] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:96 
UnityEngine.GUIUtility: ProcessEvent (Int32, IntPtr)

said he.
When I looked into it, it seems that there are many causes, but
It seems to be different from other teratail errors.
Please tell me specifically how the build can be completed to resolve this issue.
unity version 2018 3.5 f1
Python version 3.6.8

Before that,

Failed to update assembly 'Asset/ML-Agent's/Plugins/Android/TensorFlowSharp.dll': Assembly reference folder does not exist: 'C:\Program Files (x86)\Reference Assembly\Microsoft\Framework\NET.\v4'\VETable.5

and
There was a warning.
Likewise,

Failed to update assembly 'Asset/ML-Agent's/Plugins/Android/Java.Interop.dll': Assembly reference folder does not exist: 

It said.

unity3d

2022-09-30 19:54

1 Answers

EError building Player because scripts have compile errors in the editor <
[Direct translation] Error in Player build.Reason: There were compile errors in scripts"
Please review the script in the Player and correct it so that there are no compilation errors.
Compilation errors are caused by grammatical violations of program code, etc.

Line 190 and line 96 of C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs

is where the error occurred, so be careful to review the code.


2022-09-30 19:54

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.