PopcornFX v2.19

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
  1. Home
  2. Docs
  3. PopcornFX v2.19
  4. Baking
  5. Resource ovens
  6. Oven: Particle
  7. Compiler messages

Compiler messages

This page lists all the PopcornFX effect compiler errors, warnings, and infos.

 

The message IDs can be used with the -Werror, -Wdisable, and similar, compiler-switches when baking the effect, to change the priority of warnings and disable some of them if needed.

For example, to turn all warnings into errors, but:

  • disable warning 1332 "the property \"%s\" has an invalid asset path"
  • disable warning 1334 "%s renderers are not allowed in the current project settings"

Add the following to the asset-baker compiler switches:

-Werror -Wdisable=1332 -Wdisable=1334

Errors

Errors cannot be disabled or turned down into warnings or infos. All errors are fatal and will cause the graph compilation to fail.

IDCompiler 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"
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)"
319"layer \"%s\" has no data-graph: corrupt effect file"
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"
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

 

Warnings

Warnings can be turned into errors with -Werror, into infos with -Winfo, disabled with -Wdisable, or restored as warnings after a global -Werror or -Winfo override using -Wforce=<n>

IDCompiler message
Parser
1100"same type qualifier used more than once: '%s'"
AST
1200"uninitialized variable '%s' is being used"
1201"using uninitialized variable '%s'"
1202"implicit cast from '%s' to '%s': Might not do what you expect, prefer using an explicit compare operator instead: 'x != 0'"
1203"type declared with reads and writes disabled"
1204"autotype evaluated to 'void' (either a 'typeof' or an 'auto' type)"
1205"local variable shadows previous local variable '%s' in parent scope"
1206"local variable shadows global %s '%s%s'"
1207"local variable shadows namespace '%s'"
Nodes
1300"'Template' node: unresolved template \"%s\"%s"
1301"failed merging resources"
1302"failed removing unused resources"
1303"storage sanity checks failed"
1304"extracting a payload during evolve is not yet implemented, it will fallback to zero: extract the payload at spawn time instead"
1305"layer has too many events: max is %d, extra events will be ignored and have no effect"
1306"only events can be exported as layer outputs, pin \"%s\" will be ignored"
1307"'SpatialQuery' node: No spatial layer plugged in"
1308"mismatching types for spatial payload \"%s\": asked for '%s', but is of type '%s'"
1309"Payload \"%s\" not found in spatial layer"
1310"cannot reliably sample an unpinned '%s' attribute sampler, make sure the attribute is pinned"
1311"attribute sampler node: mismatching types: \"%s\" already registered with type '%s', this node declares it as '%s'"
1312"%s samplers are not allowed in the current project settings"
1313"the value of this pin could not be resolved"
1314"the value of this pin could not be resolved (probably because of a graph-loop, that is not allowed): Undefined value used"
1315"'EventPayloadAppend' node: unnamed payload element, cannot append to event"
1316"'EventPayloadAppend' node: overriding element \"%s\" already in payload with a different type: overriding '%s' with '%s'"
1317"'EventPayloadExtract' node: unsupported type '%s', cannot extract from event"
1318"'SpatialPayloadAppend' node: cannot append unnamed payload element"
1319"'SpatialPayloadAppend' node: overriding element \"%s\" already in payload with a different type: overriding '%s' with '%s'"
1320"cannot output property \"%s\": Not an existing render-feature expected by the renderer interface, will be ignored"
1321"'ExportInput' node: pin \"%s\" exported in parent graph will be overridden by local input"
1322"the pin \"%s\" is plugged but is not used by the material: it will be ignored"
1323"the pin \"%s\" is plugged but is not present in the material: it will be ignored"
1324"the property \"%s\" has an invalid texture path"
1325"the property \"%s\" has an empty texture path"
1326"the property \"%s\" has an invalid mesh path"
1327"the property \"%s\" has an empty mesh path"
1328"incorrect data type wired in pin \"%s\""
1329"wiring a sampler to pin \"%s\" is not yet supported: Must be a property"
1330"incorrect data type wired in pin \"%s\""
1331"the property \"%s\" has an empty asset path"
1332"the property \"%s\" has an invalid asset path"
1333"unused value of 'LegacyDrawOrder': instead, use the material property 'GlobalSortOverride' in the 'Transparent' material"
1334"%s renderers are not allowed in the current project settings"
1335"graph can only have a single template auto-entrypoint"
1336"recursive template: invalid, node will be ignored"
1337"external '%s' has mismatching access rights"
1338"reading uninitialized external '%s'"
1339"external '%s' is uninitialized across all graph rates"
1340"simulation interface: Recursive template \"%s\": invalid, node will be ignored"
1341"simulation interface: forbidden type: '%s' %s"
1342"simulation interface: cannot export attributes"
1343"simulation interface: 'ExportInput' node cannot have a default value wired-in"
1344"simulation interface: forbidden node: '%s'"
1345"simulation interface: input pin \"%s\" not found in simulation interface graph \"%s\""
1346"simulation interface: output pin \"%s\" not found in simulation interface graph \"%s\""
1347"graph has multiple SetLife nodes (undefined behavior)"
1348"%s \"%s\" is deprecated"
1349"'ExportInput' node: pin \"%s\" exported in parent graph will be overridden by local input"
1350"'ExportInput' node: cannot export property \"%s\": Type '%s' is not supported for properties"
1351"'ExportInput' node: exported name is empty, will have no effect"
1352"'ExportInput' node: pin \"%s\" exported in parent graph will be overridden by local input"
1353"'Template' node: input pin \"%s\" not found in child template"
1354"'Template' node: output pin \"%s\" not found in child template"
1355"pin \"%s\" is already %s, auto-export flag will be ignored"
1356"only events can be exported as layer outputs, auto-exported pin \"%s\" will be ignored"
1357"'Export%s' node: Specified type-mask is ambiguous for \"%s\", those types cannot be mixed together"
1358"'ExportInput' node: cannot export attribute \"%s\": Type '%s' is not supported for attributes"
1359"'ExportInput' node: cannot export attribute \"%s\": %s attribute samplers are not allowed in the current project settings"
1360"'ExportInput' node: cannot export property \"%s\": Type '%s' is not supported for properties"
1361"'ExportInput' node: exported name is empty, will have no effect"
1362"'ExportInput' node: min and max values are identical, will produce constant input"
1363"'ExportInput' node: some min and max value channels are identical, will produce partially constant input"
1364"'ExportInput' node: multiple export nodes for the same input: \"%s\""
1365"attribute node: mismatching types: \"%s\" already registered with type '%s', this node declares it as '%s'"
1366"attribute sampler node: Node declares \"%s\" as type '%s', but DefaultValue input is of type '%s'"
1367"'ExportOutput' node: exported name is empty, will have no effect"
1368"'ExportOutput' node: multiple export nodes for the same output: \"%s\""
1369"only events can be exported as layer outputs, pin \"%s\" will be ignored"
1370"'ExportOutput' node: no matching output pin \"%s\" found in parent template instance node"
1371"'ExportOutput' node: layers can only expose events as output pins, pin \"%s\" of type \"%s\" will be ignored"
1372"Spatial payload datatype mismatch (%s / %s)"
1373"Spatial layers are not allowed in the current project settings"
1374"'SpatialInsert' node: No spatial layer plugged in"
1375"'SpatialQuery' node: '%s' pin is unused by this query type"
1376"'EventPayloadAppend' node: cannot interpolate 'EmittedCount' semantic, requested interpolation will be ignored"
1377"'EventPayloadExtract' node: unnamed payload element, cannot extract from event"
1378"'EventPayloadExtract' node: trying to extract payload from multiple event threads, only value of first one will be returned"
1379"'EventPayloadExtract' node: \"%s\" builtin not found in payload, cannot extract from event"
1380"'EventPayloadExtract' node: element \"%s\" not found in payload, cannot extract from event"
1381"'EventPayloadClear' node: cannot clear parent event-thread payload"
1382"'EventPayloadClear' node: Element \"%s\" not found in payload, cannot remove"
1383"'EventPayloadClear' node: cannot remove unnamed payload"
1384"'EventStart' node: cannot exist in particle-graph, node will be ignored"
1385"event-graph portals are not allowed in the current project settings"
1386"internal error: input/output type must be identical, the derive instruction will return zero"
1387"cannot derive orientation, will return zero"
1388"cannot integrate orientation, will return zero"
1389"Pure full-rate discretization path, not yet implemented: insert a rate-once node at the leftmost end of the path"
1390"inconsistent data-type on discretization path, result may be incorrect"
1400"'%s' node: input pin \"%s\" not found in child layer"
1401"'%s' node: output pin \"%s\" not found in child layer"
1402"'ExportInput' node: pin \"%s\" exported in parent graph will be overridden by local input"
1403"pin \"%s\" will not be auto-exported: Auto-exporting output pins in layergraph is not yet implemented"
1404"layergraph: 'EventStart' node: timeline track unspecified"
1405"layergraph: 'EventStart' node: timeline track \"%s\" not found"
1406"'ExportInput' node: input nodes in the root event-graph have no effect and will be ignored"
1407"'ExportOutput' node: Empty name, will not export"
1408"'ExportOutput' node: Incorrect type, can only export outputs of type 'event' or 'auto' from the root event-graph"
1409"graph can only have a single template auto-entrypoint"
1410"layer \"%s\" expects payload \"%s\" of type '%s' which is not provided by %s \"%s\" through event \"%s\""
1411"incompatible payloads \"%s\": layer \"%s\" expects payload type '%s', receives '%s' from %s \"%s\" through event \"%s\""
1412"layergraph: timeline track \"%s\" has no event channel, will have no effect in layer-graph"
1413"layergraph: timeline track \"%s\" has no name, will have no effect in layer-graph"
IR
1500"useless statement: has no side-effects, and result is not used"
1503"uninitialized variable '%s' is being used"
1504"using uninitialized variable '%s'"
High-level effect compiler
1600"compile-time warning"
1601"could not load animation track asset \"%s\""
1602"only 1D curves can be used as probability curves"
1603"grid is extremely large, will have a significant memory overhead"
1604"could not load texture asset \"%s\""
1605"texture dimensions not a power of two: %dx%dx%d, expected: %dx%dx%d, in \"%s\"" [DISABLED]
1606"texture uses block compression but its dimensions are not a multiple of 4.
It might not sample or render properly on some hardware: %dx%dx%d, expected: %dx%dx%d, in \"%s\""
1607"could not load atlas definition \"%s\""
1608"atlases with more than %d tiles are not supported (max %dx%d, got %dx%d)"
1609"'SubMeshIndex' property is out of range for asset \"%s\""
1610"failed setting up submeshes for asset \"%s\""
1611"could not load mesh asset \"%s\""
1612"empty external text resource \"%s\""
1613"dangerous turbulence: has its 'GainMultiplier' different from 1.0, this will produce unstable noise, prefer keeping this to 1"
1614"could not load vectorfield asset \"%s\""
1620"Prewarm subdivision disabled: the layer contains incompatible function calls (ex: Spatial Insertion)"
Backend
1704"CPU bytecode compilation warning"
1714"D3D11 shader compilation warning"
1715"D3D12 shader compilation warning"
1716"D3D11 (Xbox One) shader compilation warning"
1717"D3D12 (Xbox One) shader compilation warning"
1718"D3D12 (Xbox Series) shader compilation warning"
1724"PS5 shader compilation warning"
1734"ISPC shader compilation warning"
User
1900
...
1999
Reserved for user-defined warnings

 

Infos

Infos can be turned into warnings with -Iwarning, into errors with -Ierror, disabled with -Idisable, or restored as infos after a global -Iwarning or -Ierror override using -Iforce=<n>

IDCompiler message
Parser
2100"consider using '%s%s' instead of manually typing '%f'"
Nodes
2300"graph has no 'SetLife' node: defaulting to Life=0"
2301"the particle lifespan may be uninitialized"
2302"'EventPayloadAppend' node: overriding builtin \"%s\" already in payload"
2303"'EventPayloadAppend' node: overriding element \"%s\" already in payload"
2304"'SpatialPayloadAppend' node: overriding element \"%s\" already in payload"
2305"'Transform' node: Transforming from local to local is an identity transform: No transform will take place, node is useless"
2306"'Transform' node: input and output space are identical: No transform will take place, node is useless"
2307"'EventPayloadExtract' node: Nothing to extract: Not connected to a trigger, generate, or parent event node"
2308"'EventPayloadExtract' node: \"%s\" builtin not found in payload of %d out of %d input event threads"
2309"'EventPayloadExtract' node: element \"%s\" not found in payload of %d out of %d input event threads"
2310"event \"%s\" %ssends payload \"%s\" of type '%s' which is not used by any of its targets"
2360"layergraph: No 'EventStart' node"
2361"layergraph: timeline track \"%s\" has an event channel with no keyframes, no events will ever be pulsed"
High-level effect compiler
2600"compile-time info"
Backend
2704"CPU bytecode compilation info"
2714"D3D11 shader compilation info"
2715"D3D12 shader compilation info"
2716"D3D11 (Xbox One) shader compilation info"
2717"D3D12 (Xbox One) shader compilation info"
2718"D3D12 (Xbox Series) shader compilation info"
2724"PS5 shader compilation info"
2734"ISPC shader compilation info"
User
2900
...
2999
Reserved for user-defined infos
Was this article helpful to you? Yes No

How can we help?