File tree Expand file tree Collapse file tree
src/Packages/UnityWebBrowser/Runtime/Core Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -166,6 +166,12 @@ public Resolution Resolution
166166 [ Tooltip ( "Will ignore SSL errors on provided domains in ignoreSSLErrorsDomains" ) ]
167167 public bool ignoreSslErrors = false ;
168168
169+ /// <summary>
170+ /// Disables sandbox
171+ /// </summary>
172+ [ Tooltip ( "Disables sandbox" ) ]
173+ public bool noSandbox = false ;
174+
169175 /// <summary>
170176 /// Domains to ignore SSL errors on if <see cref="ignoreSslErrors"/> is enabled
171177 /// </summary>
@@ -411,6 +417,12 @@ internal void Init()
411417 //argsBuilder.AppendArgument("start-delay", 2000);
412418#endif
413419
420+ //Disable sandbox
421+ if ( noSandbox )
422+ {
423+ argsBuilder . AppendArgument ( "no-sandbox" , true ) ;
424+ }
425+
414426 //Final built arguments
415427 string arguments = argsBuilder . ToString ( ) ;
416428
@@ -1185,4 +1197,4 @@ private void ReleaseResources()
11851197
11861198 #endregion
11871199 }
1188- }
1200+ }
You can’t perform that action at this time.
0 commit comments