This page lists the known issues for the Linux Unity Editor and provides tested solutions.
Opening projects with large number of assets crashes the Editor and logs a Pipe error !
message. The error message appears in the terminal if you opened the Editor via the terminal, otherwise it’s logged in the Editor.log
file located in ~/.config/unity3d
directory.
The error message is logged when the project reaches the maximum number of open files limit.
Increase the maximum open file limit in the Unity Editor session in one of the following ways:
If you’re using a terminal to open the Editor, then you can increase the maximum open file limit in the current Editor session by following these steps:
In the terminal window, check the current maximum open file limit by using following command:
ulimit -a
This increases the soft limit of the maximum number of open files and the value of the soft limit can’t exceed the hard limit.
Check the hard limit to make sure you’re not exceeding the hard limit by using the following command:
ulimit -Hn
Once you know the hard limit, increase the soft limit using following command such that it doesn’t exceed the hard limit:
ulimit -n <desired maximum open files value>
For example, to increase the soft limit to 4096, use the following command:
ulimt -n 4096
Confirm the soft limit change by using either ulimit -a
or ulimit -Sn
command, and then use the same terminal to launch the Unity Editor.
To increase the maximum open file limit system wide, follow these steps:
Locate the limits configuration file in the following location: /etc/security/limits.conf
.
Modify the following line:
[UserName] soft nofile [Desired soft open file limit]
where [UserName]
can be the username of the desired user, root, or * to include all the users excluding root. You can also increase the hard limit in this file, but make sure that you don’t exceed the hard limit set by the system.
Following is an example of how the limits.conf
file located in /etc/security/limits.conf
looks after adding the soft and hard limit values to increase the open file count.
* soft nofile 4096
* hard nofile 4096
Reboot the system.
Confirm that the values have actually changed by running the following commands.
ulimit -Sn
ulimit -Hn
Launch the Unity Editor.