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

0
Declined

Whats error : null texture passed to gui.drawtexture. It happens in game4automation.QuickToogle

Juliano Cortes 4 years ago in realvirtual.io Starter and Professional updated by Support 4 years ago 3

How fix this:

null texture passed to GUI.DrawTexture
UnityEngine.GUI:DrawTexture(Rect, Texture, ScaleMode)
game4automation.QuickToggle.Editor.QuickToggle:DrawHierarchyItem(Int32, Rect) (at Assets/game4automation/private/Editor/QuickToggle/Editor/QuickToggle.cs:390)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

Answer
Support 4 years ago

Hi,

we don't know this error. Could you upload your project? I will send you via email a link for uploading.

0
Answered

Unity project version compability issue

leevi parssinen 4 years ago in realvirtual.io Starter and Professional updated by Support 4 years ago 1

Hi! I have an issue with my project working with game4automation professional that we just purchased. So we have a Game/project working on unitys 2019 version and i tried to import the g4a asset in it ,but the toolbar only has the Parts4Cad option. on 2018 empty project it works perfectly, but i am not so experienced with unity and was wondering if the asset works at all with 2019 versions (most important ones TwinCat ADS or the OPCUA) OR if there is a way to downgrade projects unity version

Answer
Support 4 years ago

Hi,

usually it should also work with 2019. But we recommend to use LTS (Long Term Stable) releases because Unity is sometimes changing to fast for industrial use cases. We develop and test in 2018.4. On our build server we also try to compile and build with 2019, but it is more risky that we miss something in 2019. So I would recommend to only use 2019 if you really need it.

I just checked latest release and 2019 and it works on my computer without problems. The main menu is available and the demo model is working as expected.

You should also check that you are using .Net4. compatibility level - even if this should be not an issue with the main menu. But some interfaces might not compile without .Net40

There seems to be an issue / collision with anything what is already in your 2019 project. I don't know what. Could you please check the Console log for some more information.

0
Completed

Game4Automation Professional

worder 4 years ago updated by Support 4 years ago 2

Can I use my account to log on to the company and my home computer for authorization?

Answer
Support 4 years ago

You can do so, but you are not allowed to use one Unity or Game4Automation license on two computers at same time.

0
Answered

Licence question

Leevi Pärssinen 5 years ago in realvirtual.io Starter and Professional updated by Support 5 years ago 2

If i would buy the Professional version for schools account, would it be tied to that account and could be used on other projects after i'm done with mine? 

Answer
Support 5 years ago

Hi,

the license is tied to the organization who purchased the Asset. There seems to be no official way to transfer a license to another organization (e.g. from school to you personal) if you purchased on the Unity Asset Store.


You could purchase the license directly from us. For doing so please just fill out this form (Button "Request a quote" and you will get an offer: https://game4automation.com/en/buy


We could allow you the transfer if needed later on based on a simple mail you are sending to us.


Best regards

Thomas

0
Fixed

Problem with rotational drive in combination with prismatic drive

PeterFischer 5 years ago in realvirtual.io Starter and Professional updated 5 years ago 4

Hello,

I noticed a problem with the motion axis feature in G4A. I created some sort of articulated arm which rotates around the vertical y-axis using a Drive script and a Drive_FollowPosition script. This works fine, however problems occur when I add a linear (prismatic) drive in a child object of it. I added a video to make it more clear: As you can see there is Link1 which rotates and Link2 (green) which contains a drive script with the direction "Linear Z". Since Link2 doesn't have any Drive Behaviour script yet, it shouldn't move at all, but as you can see, it starts drifting away. This problem doesn't occur when only rotational joints are used in the kinematic chain. Is it possible to fix somehow?

g4a_drive.mp4

Answer
Support 5 years ago

Hi, 

you need to change this line (left = old, right = new) in the Drive script:

It will be changed in Release 1.024 (Build 246 and upwards).

For customers who wish a Beta download - please send us your Invoice Number and we can send you a download link!

0
Answered

OPC UA Client is not in Connected state

Werner Paulin 5 years ago in OPCUA4Unity updated by PeterFischer 4 years ago 14

I can connect to my OPC UA server from OpcWatch, UA Expert and even Node-RED.

However wenn importing nodes I get an error message that the client would not be able to connect. I've attached a log-file. Does someone has any idea?

Image 171

Answer
Support 4 years ago

Which version are u using. I can't reproduce. With 1.026 Update works. Used Demo Model and UaCPPServer to check.


Do you have a small demo model - based on UaCPPServer where I can check your issue?

0
Answered

Difficulty to place a can on a small conveyor

Werner Paulin 5 years ago in realvirtual.io Starter and Professional updated by Support 5 years ago 3

I'm trying to follow the tutorial with the small conveyor. I've inserted the conveyor and instead of deleting components I directly jumped to "Insert Source". However I can not place a can onto the conveyor. Please see pictures. Is this linked to the error/info message I see when I click on "game4automation". BTW: I can't find this post processing stack at the unity store.

Thanks!

Image 163

Image 162
Answer
Support 5 years ago

You seem to be in editor view. The UI can be disabled by 

- deleting everything under game4automation (what will delete totally the UI out of the project)

- or by deselecting the Layer

In Game mode you can deactivate the full UI deselecting this option:

0
Answered

Unity to a PLC

leevi parssinen 5 years ago in General Questions updated by Support 5 years ago 2

I have not purchased the asset yet, cause i have some questions!

So, I have a driving game, beckoff PLC and a pneumatically controlled platform. Is this asset good tool to get that platform moving by using the rotation variables from Unity?

Answer
Support 5 years ago

Yes you can do that over OPCUA (included in Game4Automation Professional). With OPCUA you can transfer the values to the Beckhoff PLC.

In 1-2 months Game4Automation Professional will include also a direct ADS Interface. We are currently developing it.

0
Answered

OPCUA values not in PLC Output

PeterFischer 5 years ago in realvirtual.io Starter and Professional updated 5 years ago 5

Hello,

I am running the OPCUA demo with the UaCPPServer and it works fine, except that the values are not shown next to the GameObjects in Unity. I can see the current values from the server on each OPCUA_Node component, however it seems that the corresponding PLCSignals were not created like they should (from the OPCUA documentation page: "If the Game4Automation framework is installed, additionally all
corresponding PLCSignals are created. These signals can be dragged and
dropped with sensors or drives of the Game4Automation framework.")

I then added a PLC Output Float script manually to the respective node (see picture). Now the current value is shown next to the GameObject, but it doesn't update.

I also tested this with the test scene (OPCUADriveReadingWriting.unity) provided here: https://forum.game4automation.com/communities/1/topics/101-write-to-opc-ua-varible-using-the-plcinputfloat-datatype

But the PLC Output value is also not updated there.

Image 153

Answer
Support 5 years ago


Hi, 

first of all I strongly recommend to use Unity 2018.4 instead of 2019. Specially when compiling to the Build with an IL2CPP compiler there might be issues with Unity 2019.

There is something interfering with the demo use cases (need still to check what exactly). 

Please follow these steps:

- Make sure that the compiler defines are set to GAME4AUTOMATION; GAME4AUTOMATION_PROFESSIONAL 

Import while running the OPCUA server the nodes again. If you have enabled with the Compiler defines the full framework it will also create all PLCInputs and Outputs:


If you try now to run it you will get errors:

These errors are because the demo server is limited in subscriptions.


You need to turn off all subscriptions in the OPCUA nodes or you turn it off in the OPCUA interface and import again:


Please also delete the Use Cases completely (we will get rid of the problem with the use cases in the next release).

Now it should work as expected:

You find also the full working model (based on Unity2018.4) in the Uploadfoalder I have send you via mail.