Unity Burst Compiler Warnings
- Accessing managed indexers is not supported
Accessing managed indexers is not supported.
- Accessing managed methods is not supported
Accessing managed methods is not supported.
- Boxing is not supported
Boxing is not supported.
- Burst: String.Format(format, ...) invalid argument type
Burst: String.Format(format, ...) invalid argument type.
- Burst: The variable resolves to System.String, which may result in invalid managed method calls at the Burst-compiled call stack
Burst: The variable resolves to System.String, which may result in invalid managed method calls at the Burst-compiled call stack.
- Creating a managed type is not supported
Creating a managed type is not supported.
- Debug logging functions only accept strings
Debug logging functions only accept strings.
- Function signature cannot contain managed types
Function signature cannot contain managed types.
- Loading from a non-readonly static field is not supported
Loading from a non-readonly static field is not supported.
- Loading managed type is not supported
Loading managed type is not supported.
- Shared static type parameter requires the unmanaged constraint
Shared static type parameter requires the unmanaged constraint.
- Some SharedStatic`1.GetOrCreate overloads cause compiler errors
Some SharedStatic`1.GetOrCreate overloads cause compiler errors.
- String.Format(format, ...) only accepts string literals and const strings
String.Format(format, ...) only accepts string literals and const strings.
- The 'foreach' construction is not supported
The 'foreach' construction is not supported.
- Try statement is not supported
Try statement is not supported.
- Typeof is prohibited in Burst
Typeof is prohibited in Burst.
- Writing to a static field is not supported
Writing to a static field is not supported.