Quantcast
Channel: Questions in topic: "linux"
Viewing all 504 articles
Browse latest View live

Executable published for Linux are very slow to start

$
0
0
Hi, I have to create a small game for Linux (Debian 9), I'm actually using Unity 2018.1 (latest version) and I use the x86+x86_64(Universal) target architecture. Actually my application consist in 2 scenes: an Intro (currently without animations and other fancy staff) and the game prototype (without lightmap). After I publish the executable and I lunch it on Debian I have to wait 2 minutes in order to land to the first very simple scene. Could you please give me some hint so how I can improve the scene loading time for Linux? Thanks in advance for your precious support!

Installing Unity 2017.1.0f2 In Docker Container

$
0
0
I am attempting to create a Docker container to handle my build pipeline for Unity. In my Docker container I am running Ubuntu 16.04. Everything seems to work just fine until I actually try to run the installer. I am not fully understanding what the logs are telling me. Any advice is greatly appreciated! Thank you in advance. :) Here is the output from my Docker container build - please let me know if there are any other logs I can attach or look at to help solve the issue: Step 16/20 : ENV UNITY3D_VERSION "2018.1.0f2" ---> Running in d0121721b1a4 Removing intermediate container d0121721b1a4 ---> 88cd7299986d Step 17/20 : RUN apt-get install -qq -y lib32gcc1 lib32stdc++6 libasound2 libc6 libc6-i386 libcairo2 libcap2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libfreetype6 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libgl1-mesa-glx libglib2.0-0 libglu1-mesa libgtk2.0-0 libnspr4 libnss3 libpango1.0-0 libstdc++6 libx11-6 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxtst6 zlib1g debconf npm libgtk2.0-0 libsoup2.4-1 libarchive13 && apt-get clean && rm -rf /var/lib/apt/lists/* ---> Running in 2b98d4a6888a Removing intermediate container 2b98d4a6888a ---> b339898a8ba4 Step 18/20 : ADD https://beta.unity3d.com/download/170f0691b973/UnitySetup-${UNITY3D_VERSION} /opt/Unity Downloading [==================================================>] 273.9kB/273.9kB ---> 263e84cac921 Step 19/20 : RUN chmod +x /opt/Unity ---> Running in 02030e358cf4 Removing intermediate container 02030e358cf4 ---> 168586f4a370 Step 20/20 : RUN yes | /opt/Unity --unattended --install-location /opt/Unity-${UNITY3D_VERSION} && rm -rf /tmp/* /var/tmp/* ---> Running in cbe8264ccc3e UNITY TERMS OF SERVICE Do you accept the terms of the License Agreement? (y/n) Beginning unattended installation to '/opt/Unity-2018.1.0f2', downloading packages to '' Error 404 getting 'https://netstorage.unity3d.com/unity/170f0691b973/unity-2018.1.0f2-linux.ini' Download of 'https://netstorage.unity3d.com/unity/170f0691b973/unity-2018.1.0f2-linux.ini' failed Error 404 getting 'https://download.unity3d.com/download_unity/170f0691b973/unity-2018.1.0f2-linux.ini' Download of 'https://download.unity3d.com/download_unity/170f0691b973/unity-2018.1.0f2-linux.ini' failed Successfully downloaded https://beta.unity3d.com/download/170f0691b973/unity-2018.1.0f2-linux.ini => /tmp/.UW3GKZ Selecting Unity Selecting Documentation Selecting StandardAssets Required installation size: Total space required: 3.72 GB Available space: Space available: 6.93 GB Unable to write to install location '/opt/Unity-2018.1.0f2', aborting The command '/bin/sh -c yes | /opt/Unity --unattended --install-location /opt/Unity-${UNITY3D_VERSION} && rm -rf /tmp/* /var/tmp/*' returned a non-zero code: 1

Where are linux assets stored (Ubuntu)? [Previous questions didn't help.]

$
0
0
I'm using Unity 2018.2.0b7 but I can't find where assets are stored. My OS is Ubuntu 18.04 (It's not in /home; and ~/.home doesn't exist; and they are not in /usr/share/unity/ either.)

Right Stick works fine in editor, but doesn't work after build

$
0
0
Sorry if someone's already asked something like this, but I couldn't find it. I successfully got Unity to work with my Right Analog stick on an XBox ONE controller, but after I build, the Right Stick gives no output. I'm running Unity for Linux on Ubuntu18.04 x64

DllNotFoundException libmonoposix

$
0
0
Hi everyone, I'm trying to port my project from Unity 2017.1.0 to Unity 2018.1.5 for Linux (working on Fedora 27). The project is working perfectly fine in the old version, however in this one, without changing anything, I'm encountering this issue> System.DllNotFoundException:> .../Editor/Data/Managed/../lib/libMonoPosixHelper.so> at (wrapper managed-to-native)> System.IO.Compression.DeflateStreamNative.CreateZStream(System.IO.Compression.CompressionMode,bool,System.IO.Compression.DeflateStreamNative/UnmanagedReadOrWrite,intptr) The thing is, under Editor/Managed/ I only have one folder named UnityEngine, which doens't have any subfolders. Also, even outputting the log on a terminal, it seems that Unity is searching the lib in a folder named "..", is it a bug on Unity 2018 or do I have to change some setting in Unity? (Allow 'unsafe' code is enabled, if it has something to do). I also tried to check mono versions with the old version, unity 2017 is using 4.8.0 and the new one is using 5.11.0 can it make a difference? Thanks for your help!

How to install Unity on Linux?

$
0
0
I've found the thread to download the Linux assistant here: https://beta.unity3d.com/download/2e0fa9ec2214/public_download.html But the download is "UnitySetup-2018.1.5f1". How do I install this? I tried sudo chmod +x and running it but it doesn't work. I'm running Lubuntu. Fresh install.

Need help compiling Unity Native Audio Plugins for Linux, got "multiple definition of" errors.

$
0
0
Hi, my game uses Unity Native Audio Plugins available here:
https://bitbucket.org/Unity-Technologies/nativeaudioplugins/downloads/

That repository includes the sources, as well as a compiled version for Win32, Win64 and Mac... but not for Linux!
The problem is: I'm a total noob in both Linux and C++.

Here is what I've done so far:
- Installed Virtual Box on my Windows 7
- Downloaded and installed a Debian 9.4 (64bits)
- Told apt-get to stop trying to get everything from the virtual install dvds instead of Internet
- `apt-get update`
- `apt-get upgrade`
- `apt-get install build-essential` (for g++)
- `apt-get install module-assistant` (to be able to copy-paste, drag n drop and create shared directories between my Windows and Debian)
- Created a shared directory containing the sources of Unity Native Audio Plugins
- Tried to use the Makefile I found in the sources but got `multiple definition of` errors. I didn't change the sources so it must be a configuration problem. Can someone help me figure out what's going on please? Here is the output in the terminal after typing `make` in the shared directory.

root@VirtualDebian64:/media/sf_SharedFiles/NativeAudioPlugin# make g++ -I. -O2 -fPIC -c AudioPluginUtil.cpp g++ -I. -O2 -fPIC -c Plugin_ConvolutionReverb.cpp g++ -I. -O2 -fPIC -c Plugin_CorrelationMeter.cpp g++ -I. -O2 -fPIC -c Plugin_Equalizer.cpp g++ -I. -O2 -fPIC -c Plugin_Granulator.cpp g++ -I. -O2 -fPIC -c Plugin_ImpulseGenerator.cpp g++ -I. -O2 -fPIC -c Plugin_ImpactGenerator.cpp g++ -I. -O2 -fPIC -c Plugin_LevelMixer.cpp g++ -I. -O2 -fPIC -c Plugin_Lofinator.cpp g++ -I. -O2 -fPIC -c Plugin_LoudnessMeter.cpp g++ -I. -O2 -fPIC -c Plugin_ModalFilter.cpp g++ -I. -O2 -fPIC -c Plugin_Multiband.cpp g++ -I. -O2 -fPIC -c Plugin_NoiseBox.cpp g++ -I. -O2 -fPIC -c Plugin_Oscilloscope.cpp g++ -I. -O2 -fPIC -c Plugin_PitchDetector.cpp g++ -I. -O2 -fPIC -c Plugin_RingModulator.cpp g++ -I. -O2 -fPIC -c Plugin_Routing.cpp g++ -I. -O2 -fPIC -c Plugin_SpatializerReverb.cpp g++ -I. -O2 -fPIC -c Plugin_SpatializerReverb.cpp g++ -I. -O2 -fPIC -c Plugin_StereoWidener.cpp g++ -I. -O2 -fPIC -c Plugin_Synthesizer.cpp g++ -I. -O2 -fPIC -c Plugin_TeeBee.cpp g++ -I. -O2 -fPIC -c Plugin_TeeDee.cpp g++ -I. -O2 -fPIC -c Plugin_Teleport.cpp g++ -I. -O2 -fPIC -c Plugin_TubeResonator.cpp g++ -I. -O2 -fPIC -c Plugin_Vocoder.cpp g++ -I. -O2 -fPIC -c Plugin_WahWah.cpp g++ -I. -O2 -fPIC -c hrtftable.cpp g++ -shared -rdynamic -fPIC -o libAudioPluginDemo.so AudioPluginUtil*.o Plugin_ConvolutionReverb*.o Plugin_CorrelationMeter*.o Plugin_Equalizer*.o Plugin_Granulator*.o Plugin_ImpulseGenerator*.o Plugin_ImpactGenerator*.o Plugin_LevelMixer*.o Plugin_Lofinator*.o Plugin_LoudnessMeter*.o Plugin_ModalFilter*.o Plugin_Multiband*.o Plugin_NoiseBox*.o Plugin_Oscilloscope*.o Plugin_PitchDetector*.o Plugin_RingModulator*.o Plugin_Routing*.o Plugin_Spatializer*.o Plugin_SpatializerReverb*.o Plugin_StereoWidener*.o Plugin_Synthesizer*.o Plugin_TeeBee*.o Plugin_TeeDee*.o Plugin_Teleport*.o Plugin_TubeResonator*.o Plugin_Vocoder*.o Plugin_WahWah*.o hrtftable*.o Plugin_SpatializerReverb.o: In function `SpatializerReverb::InternalRegisterEffectDefinition(UnityAudioEffectDefinition&)': Plugin_SpatializerReverb.cpp:(.text+0x0): multiple definition of `SpatializerReverb::InternalRegisterEffectDefinition(UnityAudioEffectDefinition&)' Plugin_SpatializerReverb.o:Plugin_SpatializerReverb.cpp:(.text+0x0): first defined here Plugin_SpatializerReverb.o: In function `SpatializerReverb::CreateCallback(UnityAudioEffectState*)': Plugin_SpatializerReverb.cpp:(.text+0xa0): multiple definition of `SpatializerReverb::CreateCallback(UnityAudioEffectState*)' Plugin_SpatializerReverb.o:Plugin_SpatializerReverb.cpp:(.text+0xa0): first defined here Plugin_SpatializerReverb.o: In function `SpatializerReverb::ReleaseCallback(UnityAudioEffectState*)': Plugin_SpatializerReverb.cpp:(.text+0xf0): multiple definition of `SpatializerReverb::ReleaseCallback(UnityAudioEffectState*)' Plugin_SpatializerReverb.o:Plugin_SpatializerReverb.cpp:(.text+0xf0): first defined here Plugin_SpatializerReverb.o: In function `SpatializerReverb::SetFloatParameterCallback(UnityAudioEffectState*, int, float)': Plugin_SpatializerReverb.cpp:(.text+0x140): multiple definition of `SpatializerReverb::SetFloatParameterCallback(UnityAudioEffectState*, int, float)' Plugin_SpatializerReverb.o:Plugin_SpatializerReverb.cpp:(.text+0x140): first defined here Plugin_SpatializerReverb.o: In function `SpatializerReverb::GetFloatParameterCallback(UnityAudioEffectState*, int, float*, char*)': Plugin_SpatializerReverb.cpp:(.text+0x1a0): multiple definition of `SpatializerReverb::GetFloatParameterCallback(UnityAudioEffectState*, int, float*, char*)' Plugin_SpatializerReverb.o:Plugin_SpatializerReverb.cpp:(.text+0x1a0): first defined here Plugin_SpatializerReverb.o: In function `SpatializerReverb::GetFloatBufferCallback(UnityAudioEffectState*, char const*, float*, int)': Plugin_SpatializerReverb.cpp:(.text+0x220): multiple definition of `SpatializerReverb::GetFloatBufferCallback(UnityAudioEffectState*, char const*, float*, int)' Plugin_SpatializerReverb.o:Plugin_SpatializerReverb.cpp:(.text+0x220): first defined here Plugin_SpatializerReverb.o: In function `SpatializerReverb::ProcessCallback(UnityAudioEffectState*, float*, float*, unsigned int, int, int)': Plugin_SpatializerReverb.cpp:(.text+0x230): multiple definition of `SpatializerReverb::ProcessCallback(UnityAudioEffectState*, float*, float*, unsigned int, int, int)' Plugin_SpatializerReverb.o:Plugin_SpatializerReverb.cpp:(.text+0x230): first defined here Plugin_SpatializerReverb.o:(.bss+0x0): multiple definition of `reverbmixbuffer' Plugin_SpatializerReverb.o:(.bss+0x0): first defined here collect2: error: ld returned 1 exit status Makefile:40: recipe for target 'libAudioPluginDemo.so' failed make: *** [libAudioPluginDemo.so] Error 1
And here is the Makefile: SRCS=AudioPluginUtil.cpp \ Plugin_ConvolutionReverb.cpp \ Plugin_CorrelationMeter.cpp \ Plugin_Equalizer.cpp \ Plugin_Granulator.cpp \ Plugin_ImpulseGenerator.cpp \ Plugin_ImpactGenerator.cpp \ Plugin_LevelMixer.cpp \ Plugin_Lofinator.cpp \ Plugin_LoudnessMeter.cpp \ Plugin_ModalFilter.cpp \ Plugin_Multiband.cpp \ Plugin_NoiseBox.cpp \ Plugin_Oscilloscope.cpp \ Plugin_PitchDetector.cpp \ Plugin_RingModulator.cpp \ Plugin_Routing.cpp \ Plugin_Spatializer.cpp \ Plugin_SpatializerReverb.cpp \ Plugin_StereoWidener.cpp \ Plugin_Synthesizer.cpp \ Plugin_TeeBee.cpp \ Plugin_TeeDee.cpp \ Plugin_Teleport.cpp \ Plugin_TubeResonator.cpp \ Plugin_Vocoder.cpp \ Plugin_WahWah.cpp \ hrtftable.cpp OBJS=$(SRCS:.cpp=*.o) OUTPUT=libAudioPluginDemo.so CXXFLAGS=-I. -O2 -fPIC LDFLAGS=-shared -rdynamic -fPIC CXX=g++ all: $(OUTPUT) clean: rm -f $(OUTPUT) $(OBJS) $(OUTPUT): $(OBJS) $(CXX) $(LDFLAGS) -o $(OUTPUT) $(OBJS) .cpp.o: $(CXX) $(CXXFLAGS) -c $<
Bonus question: How can I compile a version for Linux 32 and a version for Linux 64?

Unity doesn't create solution/csproj files on Linux(omnisharp)

$
0
0
I'm having a lot of problems trying to get proper autocompletion and such working using Omnisharp on Linux. According to the [documentation about Visual Studio integration,][1] unity is supposed to create the appropriate files itself(and maintain their contents). This just doesn't happen for me at all. There is an entry under assets called "Open C# project", but this does not do anything at all for me. I should probably note that the editor is configured properly and opening any other code file is just fine. I got limited success creating the files using the horrible `dotnet` tool and adding the unity and unityengine packages, but now that I'm trying to use `UnityEngine.UI.Canvas`, omnisharp doesn't seem to know about this module. There are also some strange discrepancies I can't quite figure out, such as omnisharp thinking that `LineRenderer` doesn't have the `SetPositions` method or the `startWidth` and `endWidth` properties. What is a reliable way to create unity projects on linux that work with omnisharp? Why is unity not creating the files as it should? Why doesn't "Open C# Project" do anything? [1]: https://docs.unity3d.com/Manual/VisualStudioIntegration.html

Using ZED plugin

$
0
0
Hi has anyone tried using a ZED camera with Unity? I am trying to get the ZED plugin to work with Unity on a Linux Ubuntu 16.04 machine- I have the latest ZED sdk installed and working fine whenever I'm running a publisher node- zed wrapper on ROS with it. ---------- However, when attempting to import the plugin, I get the error **ZED SDK is not installed or needs to be updated. The ZED plugin cannot be loaded. Please check that you have the latest ZED SDK2.4 installed** (which I definitely do). I have tried to uninstall and reinstall the sdk and plugin many times. ---------- & I even tried getting older versions of the ZED sdk along with the compatible plugin on the site as well, but that didn't work either. Any advice is appreciated!

Is it possible to run a game built in Unity (executable for linux) in a Ubuntu 16.04 VM on Google Cloud Platform?

$
0
0
I'm trying to run a simulator built in Unity in a Ubuntu instance in Google Cloud Platform. Is it possible? If so, could you give some pointers on what to try?

Unity 2017.3.1f1 won't start on Fedora 28. libGLU.so.1 is missing!

$
0
0
After installing Unity 2017.3.1f1 on Fedora 28 using the assistant Unity won't start with the error message: [admin@localhost Editor]$ ./Unity ./Unity: error while loading shared libraries: libGLU.so.1: cannot open shared object file: No such file or directory I tried installing `mesa-libGLU-9.0.0-14.fc28.i686.rpm` dependency but it does not help. Any help would be appreciated!

How to record (Video & Audio) game play of linux game made in unity programmaticallyand save it in linux system ?

$
0
0
Hi, I have to record the gameplay video of linux game and store it in system. I used "framecapturer" to do the same in windows.but I need to do it in linux.

[linux] offline unity installer

$
0
0
I want to develop games with unity but all i want to do is offline. ***Can i get any source or anything else to install unity in my debain linux machine totally offline*** Ans also please list the minimun system requirement to run unity development editor please!! ,Developing with unity in linux!!! I am using debain version of linux and i want to install unity offline is there any way please provide me with link.. Also suggest the minimum system requirement to develop in unity

How do I disable a whole folder or just a dll file when building in linux but enable it when building in windows

$
0
0
I have a project which I want to build for Linux and windows. The problem is that the Xbox controller input I am using (XInputDotNet) only works on windows. I know how to change my script based on build target using #if and #endif but I've found no way to disable a whole folder or just a dll file. I can't find a free controller input that works seamlessly with both Linux and windows. If I knew a way to change included assets in a build using C# or in the unity editor directly then this would be great. If this isn't an option then I would need a better controller input setup. Thanks

Linux game server

$
0
0
Hello unity people! I am working on a multiplayer game, and it's time to start testing on a (linux) server. I have managed to somewhat get it to run on my server, with variable results. Over all though, it has not been successful, since the player tries to login and fails to do so. The problem is, I am finding it hard even to debug the server since I'm not sure if the messages are outputting correctly when I run it. These are some logs of me running the server when I built the game as "headless" and ran it with -batchmode and -nographics... >> ./Server.x86_64 -batchmode -nographics>> Set current directory to>> /home/forge/server Found path:>> /home/forge/server/Server.x86_64 Mono>> path[0] =>> '/home/forge/server/Server_Data/Managed'>> Mono path[1] =>> '/home/forge/server/Server_Data/Mono'>> Mono config path =>> '/home/forge/server/Server_Data/Mono/etc'>> PlayerConnection initialized from>> /home/forge/server/Server_Data (debug>> = 0) PlayerConnection initialized network socket : 0.0.0.0> 55205>> Multi-casting "[IP] 206.189.27.151>> [Port] 55205 [Flags] 2 [Guid]>> 161226713 [EditorId] 2169020580>> [Version] 1048832 [Id]>> LinuxPlayer(206.189.27.151) [Debug] 0">> to [225.0.0.222:54997]... Started>> listening to [0.0.0.0:55205] Unable to>> preload the following plugins:>> ScreenSelector.so PlayerConnection already initialized ->> listening to [0.0.0.0:55205] Player>> data archive not found at>> `/home/forge/server/Server_Data/data.unity3d`,>> using local>> filesystem♥##unity-automation:{"messageType":"MemoryLeaks","allocatedMemory":25585,"memoryLabels":[{"Permanent":12608},{"NewDelete":8},{"Manager":104},{"GfxDevice":336},{"Serialization":9152},{"BaseObject":360},{"Terrain":176},{"String":617},{"DynamicArray":16},{"PoolAlloc":-176},{"ScriptManager":1776},{"Unet":16},{"CloudService":360},{"SceneManager":232}]} The heart is where I cancelled out of the game, and it prints what appears to be a memory leak report! I connected to the server during this test (or so it appears to) but I don't see any 'player connected' message in the output or anything like that? And there's no error messages to tell me it failed to connect to the database (which it undoubtly is)... which leads me onto another question, I am using a mysql dll to connect to the database, but I fear this may not work in Linux since it's a DLL and not an SO?? I've also tried running the game without -batchmode and -nographics, and it outputs this... (same build, so with headless option enabled) > ./Server.x86_64 Set current directory> to /home/forge/server Found path:> /home/forge/server/Server.x86_64 Mono> path[0] => '/home/forge/server/Server_Data/Managed'> Mono path[1] => '/home/forge/server/Server_Data/Mono'> Mono config path => '/home/forge/server/Server_Data/Mono/etc'> PlayerConnection initialized from> /home/forge/server/Server_Data (debug> = 0) PlayerConnection initialized network socket : 0.0.0.0 55058> Multi-casting "[IP] 206.189.27.151> [Port] 55058 [Flags] 2 [Guid]> 496774710 [EditorId] 2169020580> [Version] 1048832 [Id]> LinuxPlayer(206.189.27.151) [Debug] 0"> to [225.0.0.222:54997]... Started> listening to [0.0.0.0:55058] Unable to> preload the following plugins:> ScreenSelector.so PlayerConnection already initialized -> listening to [0.0.0.0:55058] Player> data archive not found at> `/home/forge/server/Server_Data/data.unity3d`,> using local filesystemStacktrace:>>> Native stacktrace:>> /home/forge/server/Server_Data/Mono/x86_64/libmono.so(+0x91be1) [0x7f1ba099abe1]> /lib/x86_64-linux-gnu/libpthread.so.0(+0x1288f)> [0x7f1ba3f6f88f]> /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xc7)> [0x7f1ba305ee97]> /lib/x86_64-linux-gnu/libc.so.6(abort+0x140)> [0x7f1ba3060800]> ./Server.x86_64() [0xf0a65b]> /home/forge/server/Server_Data/Mono/x86_64/libmono.so(+0xd0c46) [0x7f1ba09d9c46]> /home/forge/server/Server_Data/Mono/x86_64/libmono.so(+0x34a12) [0x7f1ba093da12]> /lib/x86_64-linux-gnu/libpthread.so.0(+0x1288f)> [0x7f1ba3f6f88f]> ./Server.x86_64(SDL_GL_GetAttribute_REAL+0x1e3)> [0x1a9c7a3]> ./Server.x86_64() [0x1927a47]> ./Server.x86_64() [0x192640f]> ./Server.x86_64() [0x19264cd]> ./Server.x86_64() [0x18eca73]> ./Server.x86_64() [0x4a3de6]> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe6) [0x7f1ba3041b96]> ./Server.x86_64() [0x4aee18]>> Debug info from gdb:>>> ================================================================= Got a SIGABRT while executing native> code. This usually indicates a fatal> error in the mono runtime or one of> the native libraries used by your> application.> =================================================================>> Aborted (core dumped) I'm not sure what to make of these varying error messages? How can I better debug the server, I see no true log files?

Installing Unity on Linux XFCE Ubuntu 16.04

$
0
0
I am trying to install Unity from the [official Linux build page.](https://forum.unity.com/threads/unity-on-linux-release-notes-and-known-issues.350256/page-2) Unfortunately, I have trouble installing the latest .deb, and the new download assistants, because of my inexperience, are near impossible to run.
**installing the .deb** When I run the usual syntax for installing .deb files (sudo apt-get install unity-editor_amd64-2017.2.0f1.deb), the Terminal returns, among other things, errors: Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package unity-editor_amd64-2017.2.0f1.deb E: Couldn't find any package by glob 'unity-editor_amd64-2017.2.0f1.deb' E: Couldn't find any package by regex 'unity-editor_amd64-2017.2.0f1.deb' } (the /code tag doesn't work for me without that curly bracket at the end. Linux did not return that.)
**Installing through the 2017.3+ download assistants** I have tried installing through the new download assistants, using the installation instructions provided on the "Unity on Linux" forum ([here](https://forum.unity.com/threads/unity-on-linux-release-notes-and-known-issues.350256/page-2))
I run chmod +x ~/Downloads/UnitySetup-2018.2.3f1 and the Terminal returns nothing. I assume it has worked. (also, the check box next to "Allow this file to run as a program" under the Permissions panel in the file browser is filled)
This should, in theory, allow the installer to run, right? Then I run ./UnitySetup-2018.2.3f1 only to receive the error bash: ./UnitySetup-2018.2.3f1: No such file or directory.
-short, frustrated growl-
I have even tried adding -unattended and -install-location! What am I doing wrong?
P.S. Thanks in advance. Bonus points if you tell me the best way to input code-style elements (the /code tag and such)

WebGL on Firefox Linux displays InvalidStateError,WebGL on Linux Firefox displays InvalidStateError

$
0
0
I have found an issue with 2018.2.4 where running a webgl build on firefox and linux, where the following error message appears: "An error occurred running the Unity content on this page. See your browser JavaScript console for more info. The error was: InvalidStateError" The web console does not contain any additional information, even with development builds. This occurs on Firefox ESR (52.4.0) on a linux machine with 100% consistency. I'm hosting the build on S3. This occurs both with our project build and also an empty project. On other OS/browser combinations this error does not occur - unfortunately, all our players are on this firefox/linux combo. We are currently on Unity 2017.1 where this issue does not occur, but are eager to finally upgrade to a newer version of Unity. After dismissing the error prompt, Unity is able to load and play fine. The game works - I just don't want to confront our players with this error message. I have tried: - Building with linker set to asm.js and both (webassembly isn't supported on Firefox 52 ESR) - Building with .NET 3.5 and 4.X equivalent in case that could cause this issue - Searching google and unity answers for this and similar issues. I haven't found much that seems relevant to my situation - Rebooting our test hardware and confirming that firefox caches have been cleared I have also submitted a bug report for this issue. Case 1073101 Any thoughts or suggestions on how to resolve this issue would be welcome. I am continuing to investigate on my own, but would welcome some assistance. Thanks, Jarrod

Linux standalone not working

$
0
0
Hello, I'm having an issue with trying to build a standalone for Linux. I can't seem to find any information on this on the internet either. Throughout numerous attempts at different strategies, my friend and I seem to always come back to this error: ![alt text][1] [1]: /storage/temp/123319-unknown.png I'm new to Linux, and even after over 3 hours of reading and trying to find anything useful online, I can't seem to figure out what is going on here. I'm not sure if it something with how I'm building the game or not, but we have had other errors as well. Those eventually go away and this one always come back up. Any help would be greatly appreciated! P.S.: My friend is running Linux Mint 19 xfce

linux minimal - dependencies and errors

$
0
0

Hello,


I set up a simple computer to create an "arcade-like" machine. It has an SSD running minimal ubuntu version. I understand I have to install some additional packages to get my game going but I still didn't figure it out which... Can you help me?


I built the game both to windows and to linux. In windows it plays really well. In linux I copied my simple game to the computer and runt LDD on all executable files I could find:

  1. game.x86_64
  2. game_Data/Plugins/x86_64/ScreenSelector.so
  3. game_Data/Mono/x86_64/libMonoPosixHelper.so
  4. game_Data/Mono/x86_64/libmono.so

Of these files only ScreenSelector.so made reference to libs that I didn't have:

  1. libgtk-x11-2.0.so.0
  2. libgdk-x11-2.0.so.0

So I installed:
sudo apt-get install libgtk2.0-0

but it sill didn't work... After reading some posts I decided to instal X:
sudo apt-get install xserver-xorg-video-dummy xserver-xorg-input-void xserver-xorg-core xinit x11-xserver-utils xorg

but it still didnt work...

When i say that it doesn't work I mean that when I run:
./game.x86_64
it prints:

Set current directory to /home/crx/game
Found path: /home/crx/game/game.x86_64
Mono path[0] = '/home/crx/game/game_Data/Managed'
Mono config path = '/home/crx/game/game_Data/Mono/etc'
Preloaded 'ScreenSelector.so'
Logging to /home/crx/.config/unity3d/DefaultCompany/GAME/Player.log


and it stays like that until I Ctrl+Z it.

when I open Player.log it just has inside the following:Desktop is 0 x 0 @ 0 Hz

And when I try to run directly screenselector.so it just prints
CORE DUMP!!!!!!!!

Can you help me?

Mono.Data.Sqlite.SqliteException:Unable to open the database file at Mono.Data.Sqlite.SqLite3.Open

$
0
0
![alt text][1] [1]: /storage/temp/124624-screenshot-from-2018-09-15-08-13-02.png I m facing this error when running on Ubuntu/Linux On windows its working fine... And i don't face this error everytime, Its gets generate randomly....after some time or after some gamePlay.... Please Help me.... Thanks in Advance...
Viewing all 504 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>