Hi evryone,
I’m having trouble building my scenes on headless ubuntu server using jenkins.
I use the jenkins plugin for unity3d and the jenkins plugin for Xvfb.
Here are the commands I run :
- /usr/bin//Xvfb :1 -screen 0 1024x768x24 -fbdir /var/lib/jenkins/xvfb-17-1410659581067869452.fbdir
- /opt/Unity/Editor/Unity -projectPath /var/lib/jenkins/jobs/Scenes-Beta/workspace -quit -batchmode -nographics -logFile /dev/stdout -executeMethod BuilderScript.buildWindows
Everything is going smoothly during the import (I actually had some troubles importing sounds but it is fixed now), and after importing I get this message :
(process:25747): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(process:25747): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion ‘G_TYPE_CHECK_INSTANCE (instance)’ failed
(process:25747): Gtk-CRITICAL **: IA__gtk_window_add_accel_group: assertion ‘GTK_IS_ACCEL_GROUP (accel_group)’ failed
(process:25747): Gtk-WARNING **: Screen for GtkWindow not set; you must always set
a screen for a GtkWindow before using the window
(process:25747): Gtk-WARNING **: Screen for GtkWindow not set; you must always set
a screen for a GtkWindow before using the window
(process:25747): Gdk-CRITICAL **: IA__gdk_screen_get_default_colormap: assertion ‘GDK_IS_SCREEN (screen)’ failed
(process:25747): Gdk-CRITICAL **: IA__gdk_colormap_get_visual: assertion ‘GDK_IS_COLORMAP (colormap)’ failed
(process:25747): Gdk-CRITICAL **: IA__gdk_screen_get_default_colormap: assertion ‘GDK_IS_SCREEN (screen)’ failed
(process:25747): Gdk-CRITICAL **: IA__gdk_screen_get_root_window: assertion ‘GDK_IS_SCREEN (screen)’ failed
(process:25747): Gdk-CRITICAL **: IA__gdk_screen_get_root_window: assertion ‘GDK_IS_SCREEN (screen)’ failed
(process:25747): Gdk-CRITICAL **: IA__gdk_window_new: assertion ‘GDK_IS_WINDOW (parent)’ failed
Receiving unhandled NULL exception
And here is the problem : I don’t actually understand this error, I just understand it has something to do with display.
I’ve tried :
- Installing Gnome and activate gdm
- Deactivating all dm
- Removing all dm
If someone could give le at least some insight on that issue (what does it mean ? Is my Xvfb not working correctly ? Is it connected to display manager ?) it would greatly help.
Thanks,
Lucas