Issue
Opening a Unity 10 '.sta' file with Unity 11 returns a conversion error.
Product Line
Unity 11 and above
Environment
Windows 10
Resolution
In UnityPro V8.0, if the 'Allow INT/DINT in place of ANY_BIT' project setting is enabled, Type Uint and UDint variables cannot be used in logic EF. This behavoir is in accordance with information stated in the documentation (i.e."Type Uint and UDint variables should not be used for EF when dealing with generic ANY_BIT formal parameters."). However, the behavior was broken in Unity 10 and a build was incorrectly allowed. This was corrected in Unity 11. If you try to open the Unity 10 '.sta' file with Unity 11, a conversion error will get returned.
To resolve the issue,
-Open the '.stu' application with Unity 10.
-Enable the 'Implicit Type Conversion' project setting.
-Rebuild.
-Save as a .'sta'
Opening a Unity 10 '.sta' file with Unity 11 returns a conversion error.
Product Line
Unity 11 and above
Environment
Windows 10
Resolution
In UnityPro V8.0, if the 'Allow INT/DINT in place of ANY_BIT' project setting is enabled, Type Uint and UDint variables cannot be used in logic EF. This behavoir is in accordance with information stated in the documentation (i.e."Type Uint and UDint variables should not be used for EF when dealing with generic ANY_BIT formal parameters."). However, the behavior was broken in Unity 10 and a build was incorrectly allowed. This was corrected in Unity 11. If you try to open the Unity 10 '.sta' file with Unity 11, a conversion error will get returned.
To resolve the issue,
-Open the '.stu' application with Unity 10.
-Enable the 'Implicit Type Conversion' project setting.
-Rebuild.
-Save as a .'sta'
Publikováno pro: Schneider Electric Česká republika


Potřebujete pomoc?
Nástroj pro výběr produktů
Rychle a snadno vyhledávejte správné produkty a příslušenství pro vaše aplikace.
Získejte nabídku
Poptejte nás online a náš lokální specialista se s vámi spojí!
Kde nakoupit?
Jednoduše najděte nejbližšího distributora výrobků Schneider Electric ve vašem okolí.
Centrum nápovědy
Zdroje podpory pro všechny své potřeby najdete na jednom místě.