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

+1
Under review

Recorder

我不会回放它。

+1
Fixed

Error importing the Package

rexgatling1988 3 years ago in realvirtual.io Starter and Professional updated by R S 2 years ago 5

I get this error when I import the package to Unity:

Assets/game4automation/private/RuntimeUI/SceneMouseNavigation.cs(801,38): error CS0103: The name 'SpaceNavigator' does not exist in the current context

Answer
Support 2 years ago

Is fixed in latest release.

+1
Under review

Circular conveyor belt

yangkang 3 years ago updated by Support 3 years ago 1

Hi

I wanted to achieve a circular conveyordemo effect (Fig1), a reference to radialConveyordemo (Fig2), but the MU transported in a circular conveyordemo is skewed in position, and I froze the XYZ rotation of the MU

Image 878

Fig 1

Image 877

Fig 2

+1
Under review

OPCUA Interface - Error in activating session

Ernesto 4 years ago in OPCUA4Unity updated by Support 3 years ago 30

Dear all,

I'm having problems to connect to a remote OPC UA server using the OPCUA Interface Component.

I followed the "Connection troubleshouting" guidelines provided in "/game4automation/Documentation/opcua.html".

Configuring the OPC Server with "No security certificates and passwords" I could connect OPC Watch with the server (see Image):


Image 576


However, when I tried connecting through the Unity OPCUA Interface:


Image 577


I get the following error message:

OPCUA Interface - Error in activating session [BadUnknownResponse]
UnityEngine.Debug:LogError (object)
game4automation.OPCUA_Interface:Connect () (at Assets/game4automation/private/Interfaces/OPCUA4Unity/OPCUA_Interface.cs:179)
game4automation.OPCUA_Interface:EditorImportNodes () (at Assets/game4automation/private/Interfaces/OPCUA4Unity/OPCUA_Interface.cs:246)
game4automation.OPCUAInterfaceEditor:OnInspectorGUI () (at Assets/game4automation/private/Interfaces/OPCUA4Unity/private/Editor/OPCUAInterfaceEditor.cs:20)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)


As it can be seen in the last image, I'm using Unity 2021.3.2f1 Editor with Game4Automation Digital Twin Professional 2020.


Any idea of what I'm missing?


Thank you in advanced.

Answer
Support 3 years ago

Hi, I checked. I found an issue with reconnection, that is why I am attaching here a new script. This will be included in next release.

OPCUA_Interface.cs

The disconnect problem and the PLCOutputBool can't be reproduced here on my computer with Simit.

+1
Fixed

No Mutex PLCSim Advanced Interface proble

Pablo 4 years ago in realvirtual.io Starter and Professional updated by Support 3 years ago 18

Hello,

we are using the PLCSim Advanced Interface.

We can Import the PLCSignals without any Troubles:

Image 519

The first time that we start the simulation in Unity everything is working fine (COM OK).

But after we stop the unity editor and try to start again, we get “No Mutex”... so no communication is established between the plc and Unity.

We found out that creating a new PLC Instance and re-importing the signals “fix the error”... but just for the first run. Then we have to repeat the process of creating a new PLC again and again...

Could be some background process blocking the communication? Thank you in advance.

Answer
Support 3 years ago

Current working coupler.exe is available in the download area:

https://realvirtual.io/download/PLCSimAdvancedCoupler.exe

+1
Answered

Robodk version with game4automation professional or game4automation OPC UA

efrensilveyra 5 years ago in OPCUA4Unity updated by Support 5 years 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.

+1
Answered

When will Unity 2019 be supported?

Stan 6 years ago in OPCUA4Unity updated by Support 5 years ago 5

Hello,


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

With kind regards,

Stan (Developer at Siemens)

Answer
Support 5 years 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?

0

Source a MU without rigid body component?

MarkH 3 days ago in General Questions updated yesterday at 9:50 a.m. 1

I would like to simulate pick and place processes of parts by using kinematics without physics. I am struggling with my understanding of the MU, Source, Grip/Fix concepts.

What do I have to do to make a sourced MU part a subcomponent without physics?

0
Fixed

SceneMouseNavigation.LateUpdate uses FindObjectsByType<TMP_InputField> every frame → catastrophic global scan on large scenes

Ramon Janousch 1 week ago in realvirtual.io Starter and Professional updated by Support 1 week ago 2

LateUpdate in SceneMouseNavigation calls CheckForFocusedFields which uses FindObjectsByType.

On large scenes, this per-frame global lookup produces unacceptable frame times.

FindObjectsByType should not be called every frame.

This is the profiler result with 4000 active and 400.000 inactive objects in the scene:

Image 1416


Same scene with an early return in CheckForFocusedFields.

Image 1417

Image 1418

Environment:

  • Unity 6000.2.10f1
  • realvirtual-Professional-6.2.1
  • Windows 10 x64
  • RAM 32 GB
  • CPU Intel Xeon W-11955M @2.6 GHz (8 Cores)