Teilen Sie Ihre Erfahrunge und Wünsche mit uns und anderen Usern!


Robodk version with game4automation professional or game4automation OPC UA

efrensilveyra 3 weeks ago in OPCUA4Unity updated by Thomas 1 week ago 1

Which version of robodk is compatible with game4automation opc ua or game4automation professional. I ask, because I want to communicate robodk 4.0 with game4automation professional.


When will Unity 2019 be supported?

Stan 11 months ago in OPCUA4Unity updated by Thomas 11 months ago 5


I was wondering when will OPC UA for Unity 2019 will be supported?

With kind regards,

Stan (Developer at Siemens)

Thomas 11 months ago

Hi, we have no tutorial about that.Even if Unity 2019 is not officially supported yet, you should be able to get it running. What is your problem. What kind of error messages do you have?


The VR Environment is only included in the Game4Automation Professional. But i have the Professional version.

KPG 2 weeks ago in Game4Automation Starter and Professional updated 1 week ago 3


after activating the VR environment in the demo scene i got the following message:

The VR Environment is only included in the Game4Automation Professional.

I'm owner of an Professional version. What can i do?


    Share-Space for custom Behavior Scripts

    carHock 3 weeks ago in General Questions updated by Thomas 1 week ago 2


    is it possible to implement some kind of share space into the forum or website, where users can upload their custom made scripts to extend the functionality of the implemented behavior scripts?


    Refresh Groups in Selection Window

    Hey Thomas,

    in the Selection Window I see all groups I defined. If I create a Group with a new name, I have to hit the play button to refresh the list. After that I can add more GameObjects by hitting the plus-Button. 

    Can you add a Refresh Button for the group list, so that I will not have to hit play every time I create a new group?

    Best regards


    OPCUA and custom types

    acour 3 weeks ago in OPCUA4Unity updated by Thomas 6 days ago 7


    I'm currently learning how to use game4Automation for a project and I'd like to read custom data types from the OPCUA server.

    In the demonstration server, there is a Work Order variable (ns2, s=Demo.WorkOrder.WorkOrderVariable) which contains a StatusComments array recognized as an ExtensionMethod by game4automation. This array can be read as a byte[] array, but is there any better way to do this? It is pretty messy and not easy at all to work with.

    Thanks for your answer!

    Thomas 6 days ago

    For the moment I don't know how to proceed here. If you write an object I don't know the reason why the type is being changed. What you are doing is more than the standard features and functions we provide. It would need some work on our side to check where the problem is. Maybe you did a mistake in how you pass the Extension object. But really hard to say without having the same setup. If you could somehow give us a full setup (OPCUA test Server with needed data structure and a reduced part of your code where we can check what is happening) we can check it. But this is so special that we would need some support budget if the effort on our side is to high.

    Not a bug

    Import von .STEP mit UTF-16 codierung fehler

    daniel.mittermeier 3 weeks ago in CADLink updated by Thomas 1 week ago 3

    Ich bekomme einen Fehler wenn ich versuche eine .STEP Datei mit UTF-16 Encoding zu öffnen. Ist das ein Fehler im Coding oder wird UTF-16 nicht supported?

    Leider kann ich die STEP Datei nicht mitschicken, da diese rechtlich geschützt ist.

    Hier die Fehlermeldung:
    Error: UTF-16 to UTF-8 conversion failed because the input string is invalid
    UnityEngine.Object:set_name (string)
    cadex.UnityModelWG_ProductStructureConverter:SetName (UnityEngine.GameObject,cadex.ModelData_SceneGraphElement)
    cadex.UnityModelWG_ProductStructureConverter:Visit (UnityEngine.GameObject,cadex.ModelData_SceneGraphElement,bool)
    cadex.UnityModelWG_ProductStructureConverter:Apply (cadex.ModelData_Part)
    cadex.ModelData_Part:Accept (cadex.ModelData_Model/ElementVisitor)
    cadex.ModelData_SceneGraphElement:Accept (cadex.ModelData_Model/ElementVisitor)
    cadex.ModelData_Instance:Accept (cadex.ModelData_Model/ElementVisitor)
    cadex.ModelData_SceneGraphElement:Accept (cadex.ModelData_Model/ElementVisitor)
    cadex.ModelData_Assembly:Accept (cadex.ModelData_Model/ElementVisitor)
    cadex.ModelData_SceneGraphElement:Accept (cadex.ModelData_Model/ElementVisitor)
    cadex.ModelData_Instance:Accept (cadex.ModelData_Model/ElementVisitor)
    cadex.ModelData_SceneGraphElement:Accept (cadex.ModelData_Model/ElementVisitor)
    cadex.ModelData_Assembly:Accept (cadex.ModelData_Model/ElementVisitor)
    cadex.ModelData_SceneGraphElement:Accept (cadex.ModelData_Model/ElementVisitor)
    cadex.ModelData_Model:Accept (cadex.ModelData_Model/ElementVisitor)
    cadex.UnityModelWG_ModelConverter:Convert (cadex.ModelData_Model)
    cadex.Unity_ObjectFactoryImpl:Perform (cadex.ModelData_Model,string)
    cadex.Unity_ObjectFactory:Create (cadex.ModelData_Model,string)
    cadimport:ImportCadData (string,bool,string,single,single,single)
    game4automation.CADLink:ImportCadData () (at Assets/game4automation/CADLink/private/CADLink.cs:354)
    game4automation.CADLink:ImportCad () (at Assets/game4automation/CADLink/private/CADLink.cs:182)
    System.Reflection.MethodBase:Invoke (object,object[])
    game4automationtools.Editor.NaughtyEditorGUI:Button (UnityEngine.Object,System.Reflection.MethodInfo) (at Assets/game4automation/CADLink/private/NaughtyAttributes/Scripts/Editor/Utility/NaughtyEditorGUI.cs:179)
    game4automationtools.Editor.NaughtyInspector:DrawButtons (bool) (at Assets/game4automation/CADLink/private/NaughtyAttributes/Scripts/Editor/NaughtyInspector.cs:188)
    game4automationtools.Editor.NaughtyInspector:OnInspectorGUI () (at Assets/game4automation/CADLink/private/NaughtyAttributes/Scripts/Editor/NaughtyInspector.cs:52)
    UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) 



    reem elshenawy 4 weeks ago updated by Thomas 4 weeks ago 1

    OPCUA - The secure channel has been closed: Remote side closed connection


    Unable to Create New Material Mapping

    pfry 1 month ago in CADLink updated 4 weeks ago 1

    So I can import a 3MF file created with SolidWorks; however, the result import in Unity appears as a bright violet version of the object. I also just tried manually importing the toy car sample 3MF and the colors were transferred properly. This leads me to believe I need to define a material mapping which I am unable to do within the CADLNK Unity asset features.

    I am trying to follow the instructions here https://game4automation.com/documentation/current/cadlink.html#3MF-Import-Settings and see if designing my own material mapping will resolve the issue. However, when I click on the "Create New Material Mapping" button I get the following error

    IndexOutOfRangeException: Index was outside the bounds of the array.
    game4automation.CADLink.CreateAsset[T] () (at Assets/game4automation/CADLink/private/CADLink.cs:750)
    game4automation.CADLink.CreateMeaterialMapping () (at Assets/game4automation/CADLink/private/CADLink.cs:86)

    The line of problem is 

    var find = AssetDatabase.FindAssets("StandardMaterialMapping t:ScriptableObject");

    string path = AssetDatabase.GUIDToAssetPath(find[0]);

    I'm guessing the issue is that when I import the CADLINK asset the "StandardMaterialMapping" is not included. I am struggling to find any further documents outlining the details of what a material map looks like. Is there no default option which just takes the color defined in the 3MF file and uses that to create the unity material? I thought that would be the default and was the main appeal of asset. 

    Please let me know if there is something I am doing incorrectly, because I'm looking through all the available documentation and other forum responses to try and figure out what is going on.

    Not a bug

    Main Menu Bar Item not added

    pfry 1 month ago in CADLink updated by Thomas 1 week ago 5

    Unity Editor Version 2019.4.21f1 LTS

    Asset CADLINK https://assetstore.unity.com/packages/tools/modeling/game4automation-cadlink-150559?aid=1101l3b93&utm_source=aff

    Looking at the documentation here https://game4automation.com/documentation/current/index.html

    either the documentation is outdated, or I am having an issue getting the main menu bar item for the game4automation to appear on my editor.

    There are conflicting screenshots showing that upon importing the asset it will create a "Tools > game4automation" in the main menu bar, and others showing that the "game4autmation" item will appear in the top level main menu bar. Neither of these are created when I import from the asset store.

    I saw previous forum posts stating to use LTS versions of Unity. Should I be on the 2020 LTS version now?