Unity Error: X server took longer than 2002 milliseconds to respond to - unity3d

Whenever I launch Unity Editor, I always get multiple of the same error message in my console, and one NullReferenceException.
What are these and how can I fix them? I tried searching the web and didn't find anything. Can I safely ignore them?
My machine is decently powerful with 16 GB ram, i5 8th gen # 1.8 GHz. Not sure if my machine is just laggy or if these are legitimate errors.
I'm using Ubuntu 20.04 LTS.

Confirmed bug by Unity Editor developer - bug report already made. The problem has existed since version 2020.1.13f1.
Until it is fixed you could either ignore it or downgrade to Unity version 2020.1.12f1 (last version without the bug).
The version 2020.1.12f1 is no longer listed in UnityHub, although it is possible to download it from command line:
$ ./UnityHub.AppImage unityhub://2020.1.12f1/55b56f0a86e3
If you don't have UnityHub it can be downloaded here.
Relates to: post on unity forum.

Unity Editor dev here. This is a bug. Please report it using Help->Report a Bug. We've made some changes in the Linux editor recently, and this message is part of it. Not something you should normally see.

Related

Is SikuliX 2.0.5 compatible on RedHat 8?

We’ve been trying to get SikuliX 2.0.5 to run on a RHEL 8 system, and not having much luck.
We went through the instructions on this webpage:
https://sikulix-2014.readthedocs.io/en/latest/newslinux.html#newslinux
We started on RHEL 7, but the OpenCV shared library required a newer version of GLIBC than is standard on RHEL 7 (version ‘GLIBC_2.27’ not found (required by ~/.Sikulix/SikuliLibs/libopencv_java430.so)), so we moved up to RHEL 8. We had to build OpenCV (v4.3.0) from source because we could not find a java companion package for RHEL 8, which required quite a few other dependencies, but in the end we got it built with most options enabled, and installed as root on the system. We also got Tesseract installed via a package, as well as xdotool and wmctrl.
We are setting LD_LIBRARY_PATH to ensure that the OpenCV libs are picked up, and when we run with the “-v -c” options to the IDE, there are no obvious problems reported. It seems to believe it is moving the mouse, though we can see that it is not, and when we try to capture a screenshot, the “canvas” from which to capture is either uninitialized/garbage frame buffer memory, or a totally black screen. On rare occasions we have seen the actual desktop, but most times we do not.
Originally the system had 2 monitors, but was subsequently reconfigured to a single display system. We were originally running remotely over NoMachine, but have also tried running locally and observed no difference in behavior.
Any pointers or suggestions would be most welcome. Given that no error messages are being reported, we are out of ideas for how to proceed in debugging the problem. It appears that more native support is provided for Debian-based systems, but we’re attempting to validate a product which only advertises support for RHEL systems, so we’d prefer to get it working in this environment if at all possible.

DLL not found error using uFllex in Unity

I have bought, downloaded and then installed uFlex for Unity. The install seemed to go without any errors, but when I try to run any of the example scenes I get lots of errors. The first and most serious sounding of which is:
DllNotFoundException: flexRelease_x64
uFlex.FlexSolver.Start () (at Assets/uFlex/Scripts/Solver/FlexSolver.cs:102)
Also the scenes don't seem to run/work. Have tried googling to see if it's a common error but that didn't show up anything. Tried finding the missing DLL but not sure where to put it, or whether it's platform/version specific?
Any thoughts on how to troubleshoot this
Anyone else have similar issues?
Not sure if it's relevant but I'm running Unity Version 2017.2.ob11 Personal, and my OS is Ubuntu 16.04.5 LTS. I have windows installed as well - is switching to running Unity under Windows likely to help?
It won't and shouldn't work on Linux at this point.
Read the requirement from the plugin page:
NVidia GPU with at least CUDA 3.0 compute capability
Windows 64 bit (Win 32bit experimental, Android and Linux support planned)
The support is currently for Windows. You get the exception because the dll for Linux has not been provided. It can't load Windows dll on Linux. If the native side (C++) of the plugin is open-source, you can compile it for Linux and include it in your project then it should work. Since it's not, your only option at this moment is to switch to Windows.

where can I report/get response on eclipse crashes caused by 14.02-14.04 upgrade?

Yes, I know. I got no rep on this site. But I have to ask this.
I upgraded my laptop, my main dev machine, from 14.02 LTS to 14.04 LTS and the plugins I use with eclipse (3.7) completely broke. I use WOLips (https://github.com/wocommunity/wolips) with eclipse. WOLips is for working with WebObjects applications.
I was getting two crashes. One would occur when editing a java file, when auto-suggest kicked in. I fixed this by adding "-Dorg.eclipse.swt.browser.DefaultType=mozilla" to the end of my eclipse.ini. I have no idea how I found that. It took a lot of random searching.
Now, I get an exception whenever I open a WOComponent:
Unhandled event loop exception
No more handles [Could not detect registered XULRunner to use]
Trying to define a XULRunnerPath just gives me even stranger errors.
I can file a bug with eclipse (which I did). I tried eclipse 4.2 and 4.4 and got other complicated integration issues. I can file a bug with mozilla (though I was not aware that they were involved). I can install a copy of xulrunner (outside of my copy of Firefox) and point to that (which I did). I can file a bug with ubuntu launchpad (which I did). None of these get you very much response.
So, I was going from one LTS to another LTS. 14.04 - 14.02 = 0.02. Not a huge deal, yes? Should I have expected problems? How can I file a bug with the people involved in just this upgrade and not the other twelve systems that this touches upon?
I had Apple laptops for a long time. I do not expect that amount of hand-holding. But I do wish someone would throw me a bone.
I can get work done if I go buy another hard disk, install 12.04 onto it and copy all of my data back. Is this really necessary? You know, I am willing to help integration testing of these releases. But the systems for finding the right place to put my oar in the water seem fairly impenetrable. Any suggestions? I do not mind working for a solution. If there is a solution.
Ray,
Did you try Eclipse 4.4 and use the instructions on the wiki for compiling the new WOLips? the Eclipse 4.4 is acting just fine for me (but I'm on a Mac sorry :( )

Show-stopper Eclipse Helios install problems under OSX (10.6) 64bit

I thought I'd give Helios a try, so I grabbed the latest Java EE install from http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/heliosr. Note, both OSX 32bit and 64bit exhibit the same symptoms.
So from a fresh install I run Helios (it launches fine), then the problem comes when I try running an upgrade. I keep getting these two errors errors:
Artifact not found: http://download.eclipse.org/releases/helios/compositeContent.jar.
http://download.eclipse.org/releases/helios/compositeContent.jar
No repository found at http://download.eclipse.org/releases/helios.
These are my (default) update sites:
Helios http://download.eclipse.org/releases/helios Enabled
Mylyn for Eclipse Helios http://download.eclipse.org/tools/mylyn/update/helios Enabled
The Eclipse Project Updates http://download.eclipse.org/eclipse/updates/3.6 Enabled
The Eclipse Web Tools Platform (WTP) software repository http://download.eclipse.org/webtools/repository/helios Enabled
http://download.eclipse.org/tools/mylyn/update/e3.4 Disabled
http://download.eclipse.org/tools/mylyn/update/extras Disabled
Note, I'm not behind any firewalls/proxies etc, no nothing weird with network connectivity.
I've searched all over the place and there are others with the same problem, with no solution that I could find.
Has anyone else run into these issues?
UPDATE 1:
Notes:
I'm not behind a proxy.
I've tried the Java EE, but also bare bones Eclipse 3.6.1.
I've tried different mirrors (including the main site),
I've tried SpingSource's version.
I've tried exporting the update sites to XML, deleting them and reimporting them.
I even tried adding forward slashes to the ends of site names.
I've made sure I have full write permissions for the eclipse folder, and have even placed it on my desktop.
I mention all of these seemingly odd behaviours because these are suggestions I've read around the web on this problem, which many people are having.
Once last interesting point I've just tried, is to download the "http://download.eclipse.org/releases/helios/compositeContent.jar" directly in the browser. It redirects to "http://www.gtlib.gatech.edu/pub/eclipse/releases/helios/compositeContent.jar" with a 403 forbidden. :\ It seems as though system is finding a mirror, but perhaps the mirror is broken? Also note, I'm in Australia, so Georgia Tech is nowhere near me ;)
Just as I was writing this, I tried one last idea. I discovered "Pulse" by Genuitec, which is a Eclipse install manager. I gave it a shot, and it worked. The site it uses for updates is:
"[url=http://eclipse.poweredbypulse.com/downloads/aux/eclipse-mirror/releases/helios] http://eclipse.poweredbypulse.com/downloads/aux/eclipse-mirr or/releases/helios[/url]"
So, I've wasted enough time on this now. I'd create a bug in Eclipse Bugzilla, but there are already entries with no solution.
UPDATE 2:
Ok, from a fresh install, if I disable:
http://download.eclipse.org/releases/helios/
and add Pulse's update site:
http://eclipse.poweredbypulse.com/downloads/aux/eclipse-mirror/releases/helios/
I don't get any errors. I really think it's to do with the automatic mirrored update site. Is this possible?
Here is a screenshot of my update sites now:
Regards,
Shane
Ok, I had the same issue on Windows XP 64bits laptop an Fresh Helios 64bits download, however your workaround works for me.
See update 2 in the question.
Shane

Anyone have issues with Eclipse over Remote Desktop Connection?

I have a very strange issue that I'm hoping someone can help me with. I have various installations of Eclipse on my development machine at work. The one I primarily use is Weblogic WorkSpace Studio 10.2. This installation, along with a few Pulse installations I have set up works fine when I'm logged into my computer physically.
However, when I try to log into the computer using Microsoft's Remote Desktop Connection utility I get an error stating: "Could not create Java virtual machine." and then I get the lovely Eclipse error box which I personally can gather almost nothing from.
Even if you don't have the solution, any help would be greatly appreciated.
Justin
What ended up working for me was the memory settings for the JVM. Apparently the remote desktop connection, or some other setting in Windows, blocks off a fairly large amount of space. By reducing the heap size allocation for the JVM during Eclipse and server start-up I was able to get this working. As a side note, I had PLENTY of space that windows could have used, so I don't think blankly adding more memory would necessarily solve the issue. If you find another solution, please let me know.
• We came across an issue when user RDC’s to a remote system where the OS is Windows 10 and has a running Eclipse instance, the Eclipse instance terminates
• Eclipse is one of the IDE’s for Java
• The issue is because of Windows 10 Exploit protection
• Pre-requisite: You will need Administrative permissions for executing the below
• Navigate to Settings -> Update & Security -> Windows Security -> App & Browser Control -> Exploit Protection Settings
• Add the program to exclude as below
P.s. As of Window 10 1909 MS security advisory mentions we can disable some exploit protections by default.
Perhaps it is permission related. take a look at similar issue that symantec has:
http://service1.symantec.com/support/ent-security.nsf/854fa02b4f5013678825731a007d06af/8ea1593f1d1fcee68025759a003d8403?OpenDocument
Try to see if you have same patches installed that causes the security issue. Also refer to application log to see if there is a more specific error. Good luck :)
I think issue happens due to Windows, not Eclipse nor JVM. There is still open Bug report on the Eclipse side and one of the comments state that Microsoft is working on the issue.
I have tried Windows Remote Desktop-ing into my dev machine at work (which had only one version of eclipse installed on it). I had no troubles.
Is it possible that your problems stem from multiple versions of eclipse running at the same time?
Also, have you tried a fresh install of eclipse on your dev machine?
If the above two suggestions don't work, then the only thing that I can think of is what Mohammad said: you might need to check your permissions.
I would check the system log if I were you: Start > run > eventvwr
The first thing to look at is the .log file which is in your eclipse's metadata folder (found in your workspace at $WORKSPACE_ROOT/.metadata/.log). If you post the stack trace that it generates upon initialization, we can give a definitive answer.
I am now experiencing this in Eclipse (the Oxygen release and Java 1.8.0_181). I previously had the same problem with another Java-based program (Oxygen XML/XSL editor - the product name is coincidentally the same as the Eclipse version). Last year the Oxygen support team answered that it may be a known problem in Java.
Even without seeing a crash report, considering your sequence of
events, this seems like a known common cause of crash for the Java
runtime. Keeping Oxygen/Java running for a long time, until the screen
or video card enters sleep then connecting/disconnecting
screens/projectors or connecting/disconnecting RDP can trigger a crash
in the Java runtime. We keep updating the Java runtime (JRE) with each
new version of Oxygen, but so far the issue has not been resolved in
newer versions of the JRE.
e.g. Java VM logged issue:
https://bugs.openjdk.java.net/browse/JDK-8153389