File tree 1 file changed +8
-0
lines changed
test/Scripts.Integration.Test/Editor
1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -139,11 +139,19 @@ public static void BuildLinuxIl2CPPPlayer()
139
139
public static void BuildAndroidIl2CPPPlayer ( )
140
140
{
141
141
Debug . Log ( "Builder: Building Android IL2CPP Player" ) ;
142
+ PlayerSettings . SetUseDefaultGraphicsAPIs ( BuildTarget . Android , false ) ;
143
+ PlayerSettings . SetGraphicsAPIs ( BuildTarget . Android , new [ ] { UnityEngine . Rendering . GraphicsDeviceType . OpenGLCore } ) ;
144
+ PlayerSettings . gpuSkinning = false ;
145
+ PlayerSettings . graphicsJobs = false ;
142
146
BuildIl2CPPPlayer ( BuildTarget . Android , BuildTargetGroup . Android , BuildOptions . StrictMode ) ;
143
147
}
144
148
public static void BuildAndroidIl2CPPProject ( )
145
149
{
146
150
Debug . Log ( "Builder: Building Android IL2CPP Project" ) ;
151
+ PlayerSettings . SetUseDefaultGraphicsAPIs ( BuildTarget . Android , false ) ;
152
+ PlayerSettings . SetGraphicsAPIs ( BuildTarget . Android , new [ ] { UnityEngine . Rendering . GraphicsDeviceType . OpenGLCore } ) ;
153
+ PlayerSettings . gpuSkinning = false ;
154
+ PlayerSettings . graphicsJobs = false ;
147
155
EditorUserBuildSettings . exportAsGoogleAndroidProject = true ;
148
156
BuildIl2CPPPlayer ( BuildTarget . Android , BuildTargetGroup . Android , BuildOptions . AcceptExternalModificationsToPlayer ) ;
149
157
}
You can’t perform that action at this time.
0 commit comments