File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -999,12 +999,19 @@ function Get-IsUnityError {
999
999
return $true
1000
1000
}
1001
1001
1002
+ # Detect that the method specified by -ExecuteMethod doesn't exist, for example:
1003
+ # executeMethod method 'Invoke' in class 'Build' could not be found.
1004
+ if ( $LogLine -match ' executeMethod method .* could not be found' ) {
1005
+ return $true
1006
+ }
1007
+
1002
1008
# Detect compilation error, for example:
1003
1009
# Assets/Errors.cs(7,9): error CS0103: The name `NonexistentFunction' does not exist in the current context
1004
1010
if ( $LogLine -match ' \.cs\(\d+,\d+\): error ' ) {
1005
1011
return $true
1006
1012
}
1007
1013
1014
+
1008
1015
# In the future, additional kinds of errors that can be found in Unity logs could be added here:
1009
1016
# ...
1010
1017
You can’t perform that action at this time.
0 commit comments