Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug Multiple problems (Material reset (turns pink), Unity API Reference)

Discussion in 'Linux' started by z3ntu, Jun 9, 2016.

  1. z3ntu

    z3ntu

    Joined:
    Aug 27, 2015
    Posts:
    24
    Scene/Game view turns every object to color #ff00ff (bright pink) when pressing "Play"
    This is a completely breaking bug, as literally every object in the game view turns pink. When you add a new object the texture shows but when you press play (or export the game) it turns pink.
    EDIT:
    Video in action:

    Apparently when you drag a prefab from the project tab to the hierachy tab, the material doesn't get set correctly and is discarded after pressing "Play". Manually setting the material then fixes the issue.

    Unity API Reference doesn't work

    Code (csharp):
    1. ERROR [2016-06-09 14:59:03Z]: Error while executing command: Unity API Reference
    2. GLib.GException: There was an error launching the default action command associated with this location.
    3.   at Gnome.Url.Show (System.String url) <0x41a4e2b0 + 0x000a7> in <filename unknown>:0
    4.   at MonoDevelop.Platform.GnomePlatform.ShowUrl (System.String url) <0x41a4e280 + 0x00013> in <filename unknown>:0
    5.   at MonoDevelop.Ide.DesktopService.ShowUrl (System.String url) <0x41a4e250 + 0x0001f> in <filename unknown>:0
    6.   at Unity.Utilities.SearchReferenceCommandHandler.Run () <0x41a4dce0 + 0x00257> in <filename unknown>:0
    7.   at MonoDevelop.Components.Commands.CommandHandler.Run (System.Object dataItem) <0x41a4dcc0 + 0x00010> in <filename unknown>:0
    8.   at MonoDevelop.Components.Commands.CommandHandler.InternalRun (System.Object dataItem) <0x41a4dca0 + 0x00015> in <filename unknown>:0
    9.   at MonoDevelop.Components.Commands.CommandManager.DefaultDispatchCommand (MonoDevelop.Components.Commands.ActionCommand cmd, MonoDevelop.Components.Commands.CommandInfo info, System.Object dataItem, System.Object target, CommandSource source) <0x41a4d8b0 + 0x001d3> in <filename unknown>:0
    10.   at MonoDevelop.Components.Commands.CommandManager.DispatchCommand (System.Object commandId, System.Object dataItem
    11. , System.Object initialTarget, CommandSource source) <0x41a4c8c0 + 0x00c4b> in <filename unknown>:0
    EDIT: How to fix:
    Code (csharp):
    1. gconftool-2 --set --type=string /desktop/gnome/url-handlers/http/command '<your-browser-executable> %s'

    VARIOUS OTHER ERRORS

    MonoDevelop.NUnit doesn't get loaded:
    Code (csharp):
    1. ERROR [2016-06-09 14:57:36Z]: Error while creating text editor extension :__nid_12(MonoDevelop.CSharp.UnitTestTextEditorExtension)
    2. System.IO.FileNotFoundException: Could not load file or assembly 'MonoDevelop.NUnit, Version=2.6.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
    3. File name: 'MonoDevelop.NUnit, Version=2.6.0.0, Culture=neutral, PublicKeyToken=null'
    4.   at (wrapper managed-to-native) System.Reflection.Assembly:InternalGetType (System.Reflection.Assembly,System.Reflection.Module,string,bool,bool)
    5.   at System.Reflection.MonoAssembly.GetType (System.String name, Boolean throwOnError, Boolean ignoreCase) <0x7f30ea9af4d0 + 0x0004d> in <filename unknown>:0
    6.   at System.Reflection.Assembly.GetType (System.String name, Boolean throwOnError) <0x7f30ea96ca10 + 0x00025> in <filename unknown>:0
    7.   at Mono.Addins.RuntimeAddin.GetType (System.String typeName, Boolean throwIfNotFound) <0x416389a0 + 0x000c6> in <filename unknown>:0
    8.   at Mono.Addins.TypeExtensionNode.get_Type () <0x41665a20 + 0x0004f> in <filename unknown>:0
    9.   at Mono.Addins.TypeExtensionNode.CreateInstance () <0x416659f0 + 0x0000f> in <filename unknown>:0
    10.   at MonoDevelop.Ide.Gui.Document.InitializeExtensionChain () <0x418f7f50 + 0x00213> in <filename unknown>:0
    Some multicast error
    http://i.imgur.com/a4BrmNB.png
     
    Last edited: Jun 9, 2016