540 - unable to determine type
Message: “At {location}, it is unable to determine type on {node}. Correct type should be {type}.”
Example: “At <titi.fta>3583-3, it is unable to determine type on li2. Correct type should be bool.”
Explanation: The type of a variable can not be determined.
When translating an Orphee application to Unity-pro, such a case mainly concern the link variable named LI*.
The problem can be resolved, in the destination file(s), by replacing the type “undefined” with the correct type (in most of the case the LI variable is a bool) in the declaration of the LI variables.
- Example:
- replace “<variables name=“Li3” typeName=“undefined”>” with “<variables name=“Li3” typeName=“BOOL”>” in the Unity-Pro XEF file
