Errors updating to 1.3

Hyper 4 years ago updated by Lazlo Bonin (Lead Developer) 4 years ago 5

Ok I tried this process for a second time and here are some observations, going from 1.2.3 to 3.0 In unity 2017.3

1) Create Scene Variables is nowhere to be found in the Bolt preferences in 1.2.3

2) On step 10 Unity crashes immediately on start. It works if I try to start it again.

3) The Update Wizard shows no instructions, merely the status window where all I can click on is "close".

4) Trying to fix missing variables fails and gives an error message (which I lost because the internet ate my previous attempt at this post). I'll try to update another project and see if it happens again.

5) The colors are strangely dark, I had noticed this in past attempts at updating too.

Bolt Version:
Unity Version:
Scripting Backend:
.NET Version (API Compatibility Level):
Satisfaction mark by Hyper 4 years ago

(also apparently this site hangs my browser tab when trying to upload my .pngs on vivaldi)



Is this intended? It looks pretty bad...

It doesn't happen if I import the new Bolt version on a new project, but it does seem to happen when trying to update older projects...

Here's the error when trying to fix the scripts:

ArgumentException: length
System.Array.Copy (System.Array sourceArray, Int32 sourceIndex, System.Array destinationArray, Int32 destinationIndex, Int32 length) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/Array.cs:971)
System.IO.StreamReader.Read (System.Char[] buffer, Int32 index, Int32 count) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.IO/StreamReader.cs:419)
System.IO.StreamReader.ReadToEnd () (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.IO/StreamReader.cs:519)
System.IO.File.ReadAllText (System.String path, System.Text.Encoding encoding) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.IO/File.cs:588)
System.IO.File.ReadAllText (System.String path) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.IO/File.cs:582)
Ludiq.ScriptReferenceResolver.Run (IEnumerable`1 paths, IEnumerable`1 replacements, Mode mode) (at C:/Users/lazlo/Projects/Ludiq/Ludiq.Core/Editor/Utilities/ScriptReferenceResolver.cs:92)
Ludiq.ScriptReferenceResolver.Run () (at C:/Users/lazlo/Projects/Ludiq/Ludiq.Core/Editor/Utilities/ScriptReferenceResolver.cs:170)

On further tinkering I discovered that the darkness of the graph inspector is because my project is in linear color space instead of gamma. That shouldn't affect the UI, but it does...

Fixed in Alpha

Thanks for your report Hyper! Really helpful.

  1. Create Scene Variables was introduced in v.1.2.4 IIRC... It shouldn't cause too much issues, worst case you'll have a single scene (the one opened during the update) with 2 scene variables object.
  2. Not sure what happened there, but if it works when re-opening, great?
  3. Is this because you had already updated to v.1.3 before? If so, the saved version from Bolt is 1.3 and the update wizard doesn't detect any change needed.
  4. Will be fixed in a patch that I send today!
  5. Will be fixed as well! I would never have guessed why, luckily you found it was related to linear color space. It also explains why some colors showed up as black in the editor for some users.