ID |
Compiler message |
Internal errors |
1
|
"internal error" (unspecified)
|
2
|
"internal error: out of memory"
|
10
|
"internal error: could not find root function"
|
11
|
"internal error: invalid type in ctor/assign node (bad type propagation)"
|
12
|
"internal error: something unspecified failed, please contact support"
|
40
|
"internal error: no available overloads for function '%s'"
|
41
|
"internal error: multiple function declarations"
|
42
|
"internal error: failed injecting data-nodes from layergraph (\"<Nodegraph:%s>\")"
|
43
|
"internal error: unknown spatial query type"
|
44
|
"internal error: write op for storage \"%s\" not found in function"
|
45
|
"internal error: failed to order fences"
|
46
|
"internal error: invalid parameters"
|
47
|
"internal error: failed expanding du/dv node"
|
48
|
"internal error: failed expanding integral node"
|
Parser |
100
|
"'%s' syntax error: expecting return type"
|
101
|
"'%s' syntax error: expecting identifier"
|
102
|
"'%s' syntax error: invalid operator"
|
103
|
"'%s' syntax error: invalid operator token"
|
104
|
"'%s' operator syntax error: '[' without matching ']'"
|
105
|
"'%s' syntax error: expecting parameter list"
|
106
|
"'%s' syntax error: expecting expression list after 'requires'"
|
107
|
"'%s': improper use of the 'requires' keyword"
|
108
|
"'%s' syntax error: expecting function body"
|
109
|
"'%s' syntax error: expecting '(', usage: 'typeof(expression)'"
|
110
|
"syntax error: 'version' keyword expects a parameter list"
|
111
|
"syntax error: in 'version' parameter list: invalid or empty parameter (keyword expects at least one parameter)"
|
112
|
"syntax error: in 'version' parameter list: expecting ',' or ')', got: '%c'"
|
113
|
"syntax error: missing ';'"
|
114
|
"unexpected end of file: mismatching '('"
|
115
|
"syntax error: 'typeof' construct expects a single parameter, got %d"
|
116
|
"syntax error: '%s' function expects %d parameters, got %d"
|
117
|
"syntax error: '%s' function expects %d or %d parameters, got %d"
|
118
|
"syntax error: '%s' function expects %d, %d, or %d parameters, got %d"
|
119
|
"syntax error: unexpected closing array ']'"
|
120
|
"syntax error: unexpected closing parenthesis ')'"
|
121
|
"syntax error: missing closing scope '}'"
|
122
|
"syntax error: missing closing parenthesis ')'"
|
123
|
"syntax error: missing closing bracket ']'"
|
124
|
"syntax error: missing statement terminator ';'"
|
125
|
"syntax error: unexpected closing scope '}'"
|
126
|
"unsupported token in parse tree: %d"
|
127
|
"invalid swizzle code: '%s'"
|
128
|
"expected: name in variable declaration"
|
129
|
"syntax error: expecting '(' after '%s'"
|
130
|
"syntax error: unexpected '(' after '%s'"
|
131
|
"parse error after '%s'"
|
132
|
"failed parsing parameter list after '%s'"
|
133
|
"syntax error: expecting end of string started here: \"%s\""
|
134
|
"Strings removed from PK-Scripts since v1.11"
|
135
|
"syntax error: invalid character constant"
|
136
|
"syntax error: invalid character '%.*s'"
|
137
|
"operator syntax error (possibly a missing operator?)"
|
138
|
"Multiple independent expressions in same statement: did you forget a ';' ?"
|
139
|
"unexpected end of file: mismatching '('"
|
140
|
"syntax error: missing expression delimiter"
|
141
|
"error parsing parameter"
|
142
|
"parameter list expected"
|
143
|
"syntax error in parameter declaration: expecting type name"
|
144
|
"syntax error in parameter declaration: expecting parameter name"
|
146
|
"function arguments must be named"
|
147
|
"error parsing default value"
|
148
|
"syntax error in parameter declaration: too many initializers"
|
149
|
"syntax error in parameter declaration: expecting ',' or ')'"
|
150
|
"parse error: invalid number"
|
151
|
"syntax error: '%s' expects between 1 and 3 parameters to contruct a float3, got %d"
|
152
|
"syntax error: '%s' is a member function, must be called on an image sampler"
|
AST |
200
|
"incompatible types: %s, %s"
|
201
|
"cannot convert %s to %s"
|
202
|
"cannot read from variable '%s' that has no read access"
|
203
|
"Symbol type mismatch, expecting: %s"
|
204
|
"unresolved symbol: \"%s%s\"%s"
|
205
|
"cannot cast non native type"
|
206
|
"Fully untypable input: cannot convert"
|
207
|
"bad type-cast: cannot cast from '%s' to '%s'"
|
208
|
"local variable redefinition: \"%s\""
|
209
|
"cannot write to a 'void' external"
|
210
|
"invalid: writing to lower-order meta-type"
|
212
|
"construction of native types from non-native types is not yet implemented"
|
213
|
"Native constructors cannot be called without arguments"
|
214
|
"cannot construct a 'void' variable"
|
215
|
"invalid parameter: does not return a value"
|
216
|
"cannot construct %dD vector"
|
217
|
"cannot construct a %dD vector from an orientation"
|
218
|
"cannot construct an orientation from a %dD vector"
|
219
|
"cannot construct a %dD vector from %d dimensions"
|
220
|
"cannot convert a %dD vector to a %dD vector"
|
221
|
"unsupported complex construction of non-native type"
|
222
|
"cannot resolve constructor: no constructors available"
|
223
|
"cannot reinterpret type '%s' into '%s'"
|
224
|
"unsupported type: %s"
|
225
|
"no overloads could resolve all argument types, available overloads:"
|
226
|
"ambiguous call to overloaded function:"
|
227
|
"illegal static call of non-static member function: '%s'"
|
228
|
"swizzle results in an invalid vector with too many dimensions (%d), max is 4: '%s'"
|
229
|
"invalid swizzle: \"%s\""
|
230
|
"invalid character in swizzle code: '%c'"
|
231
|
"'orientation' type does not support per-component access, use extract functions instead"
|
232
|
"Some swizzle operands overflow source dimensions (%d):"
|
233
|
"'permute' only accepts vectors of the same dimension"
|
234
|
"function redefinition: '%s'"
|
235
|
"cannot declare a function with a 'void' parameter: '%s'"
|
236
|
"function \"%s\" has an invalid return type"
|
237
|
"cannot declare member functions"
|
238
|
"function '%s' does not support %s values for %d%s parameter, expects at most %s values"
|
239
|
"Math function '%s' does not support type '%s'"
|
240
|
"Native type '%s' has no member function '%s'"
|
241
|
"syntax error after operator '.'"
|
242
|
"invalid assignment: %s"
|
243
|
"incompatible types: %s"
|
244
|
"cannot use operator '%s' with type '%s'"
|
245
|
"cannot read from variable '%s' that has no read access"
|
246
|
"cannot assign to variable '%s' that has no write access"
|
247
|
"cannot modify variable '%s' that has no read-write access"
|
248
|
"invalid assignment"
|
249
|
"++ or — native math operators not yet implemented"
|
250
|
"type '%s' does not support operator '%s'"
|
251
|
"unresolved member \"%s\""
|
252
|
"unresolved member function \"%s\""
|
253
|
"type '%s' does not define operator %s with type '%s'"
|
254
|
"operator %s ('%s', '%s') is ambiguous"
|
255
|
"type '%s' does not define operator %s"
|
256
|
"no overloads could resolve all argument types for %s::operator %s"
|
257
|
"'select' or 'iif' operation only accepts numeric values"
|
258
|
"Vector dimensions used in 'select' function parameters are invalid"
|
259
|
"'setdim' expects an immediate 'int' constant for the dimension"
|
260
|
"'getchannel' index must be a scalar int"
|
261
|
"'setchannel' index must be a scalar int"
|
Nodes |
300
|
"'Template' node: unresolved template \"%s\"%s"
|
301
|
"inconsistent graph \"%s\": cannot build"
|
302
|
"simulation graph \"%s\" is not a particle-graph (%d)"
|
303
|
"simulation graph \"%s\" is not initialized"
|
304
|
"inconsistent export node for pin \"%s\": has no input pins, if auto-exported from a renderer, try opening and re-saving the .pkri file this renderer’s .pkma references (contact support if in doubt)"
|
305
|
"'%s' node: incorrect number of input/output pins"
|
306
|
"'ExportOutput' node: incorrect number of input/output pins"
|
307
|
`"'ExportOutput' node: ill-formed node" ` |
308
|
"'ExportOutput' node: cannot export an output named '%s' from a simulation interface"
|
309
|
"'SpatialLayer' node: cannot declare spatial layer with empty 'SelfName' property"
|
310
|
"'Layer' node: cannot exist in a data graph"
|
311
|
"failed building data-nodes from layergraph"
|
313
|
"failed building graph (unknown error, please contact support)"
|
314
|
"the type of the spatial payload \"%s\" isn’t compatible with this query type: asked for '%s', but it must be of type float"
|
315
|
"AST type propagation pass failed (\"<Nodegraph:%s>\")"
|
316
|
"event payload datatype mismatch (%s / %s)"
|
320
|
"renderer %shas an empty material path"
|
321
|
"renderer %shas an incompatible material: renderer is of type '%s', material is for renderers of type '%s'"
|
322
|
"renderer %shas an invalid material path"
|
323
|
"failed compiling rendering adapter graph%s"
|
324
|
"cannot output enable flag for feature \"%s\": Can only be an input of the adapter graph"
|
325
|
"failed building renderer pin \"%s\" (internal error: either out of memory, or invalid pin type for renderers)"
|
326
|
"cannot resolve untyped nodegraph input \"%s\""
|
327
|
"could not compile the renderer"
|
330
|
"simulation interface: invalid input \"%s\": %s samplers are not allowed in the current project settings"
|
331
|
"simulation interface: pins do not match bound simulation interface \"%s\""
|
332
|
"simulation interface: input pin \"%s\" not found in simulation interface node \"%s\""
|
333
|
"simulation interface: input pin \"%s\" has incorrect type for bound simulation interface \"%s\", expected: '%s', got: '%s'"
|
334
|
"simulation interface: input pin \"%s\" has incorrect metadata for bound simulation interface \"%s\", expected: '%s', got: '%s'"
|
335
|
"simulation interface: input pin \"%s\" not found in bound simulation interface \"%s\""
|
336
|
"simulation interface: output pin \"%s\" not found in simulation interface node"
|
337
|
"simulation interface: output pin \"%s\" has incorrect type for bound simulation interface \"%s\", expected: '%s', got: '%s'"
|
338
|
"simulation interface: output pin \"%s\" has incorrect metadata for bound simulation interface \"%s\", expected: '%s', got: '%s'"
|
339
|
"simulation interface: output pin \"%s\" not found in bound simulation interface \"%s\""
|
340
|
"%s samplers are not allowed in the current project settings"
|
360
|
"layergraph: layer nodegraph \"%s\" is not an event-graph (%d)"
|
361
|
"layergraph: event-graph \"%s\" is not initialized"
|
362
|
"layergraph: corrupt layer \"%s\": has no sub-graph"
|
363
|
"layergraph: unresolved template \"%s\"%s"
|
364
|
"layergraph: '%s' node: incorrect number of input/output pins"
|
365
|
"'ExportInput' node: cannot export attribute \"%s\": Type '%s' is not supported for attributes"
|
366
|
"'ExportInput' node: cannot export property \"%s\": Type '%s' is not supported for properties"
|
IR |
500
|
"error encoding function \"%s\" to bytecode"
|
501
|
"code outside function"
|
502
|
"compiler Backend: Read from an external that has no read access: '%s'"
|
503
|
"uninitialized variable '%s' is being used"
|
504
|
"using uninitialized variable '%s'"
|
505
|
"compiler Backend: Write from an external that has no write access: '%s'"
|
506
|
"nested functions are invalid"
|
508
|
"unsupported AST node type: %d%s"
|
509
|
"overflowed max register/instruction count (max=%d): graph too large, please contact support"
|
510
|
"integer divide by zero in constants collapse"
|
511
|
"failed building IR from nodegraph"
|
512
|
"failed building IR"
|
513
|
"failed splitting IR (spawn/evolve)"
|
514
|
"failed discretizing IR"
|
515
|
"failed searching and replacing dts"
|
516
|
"failed propagating meta-data"
|
517
|
"failed generating the spawn IR (the IR has errors)"
|
518
|
"failed generating the evolve IR (the IR has errors)"
|
519
|
"failed splitting IR (simulation-fence)"
|
520
|
"failed splitting IR (multi-rate)"
|
521
|
"failed expanding static test instructions"
|
522
|
"failed initializing IR storage ranges"
|
523
|
"failed optimizing zero-life layer"
|
524
|
"failed optimizing storage"
|
525
|
"failed renaming storage"
|
526
|
"failed typing payloads"
|
527
|
"failed detecting storage constness"
|
High-level effect compiler |
600
|
"compile-time error"
|
601
|
"compile-time assertion failed"
|
Backend |
704
|
"CPU bytecode compilation failed"
|
710
|
"D3D backend failed generating HLSL kernel"
|
711
|
"D3D backend failed binding external function: \"%s\""
|
712
|
"D3D backend cannot generate kernel from empty bytecode"
|
714
|
"D3D11 shader compilation failed"
|
715
|
"D3D12 shader compilation failed"
|
716
|
"D3D11 (Xbox One) shader compilation failed"
|
717
|
"D3D12 (Xbox One) shader compilation failed"
|
718
|
"D3D12 (Xbox Series) shader compilation failed"
|
720
|
"PSSLC backend failed generating PSSL kernel"
|
721
|
"PSSLC backend failed binding external function: \"%s\""
|
722
|
"PSSLC backend cannot generate kernel from empty bytecode"
|
724
|
"PS5 shader compilation failed"
|
730
|
"ISPC backend failed generating ISPC kernel"
|
732
|
"ISPC backend cannot generate kernel from empty bytecode"
|
734
|
"ISPC shader compilation failed"
|
740
|
"Vulkan backend failed generating HLSL kernel"
|
741
|
"Vulkan backend failed binding external function: \"%s\""
|
742
|
"Vulkan backend cannot generate kernel from empty bytecode"
|
744
|
"Vulkan shader compilation failed"
|
754
|
"Metal shader compilation failed"
|
Editor-specific |
801
|
"failed building executable expression"
|
810
|
"syntax error: incorrect parameter given to '%s' statement, expecting a performance-counter name"
|
User |
900
…
999
|
Reserved for user-defined errors |