Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

sire404

1
Posts
13
Following
A member registered Dec 19, 2016

Recent community posts

(2 edits)

I just get a black screen after the Unity logo. Found the error:

ERROR processing JSON file. MESSAGE: E:/DOWN/age-of-transcendence-win64/Age of Transcendence_Data/StreamingAssets/flyweights/gameplay/ActiveAbility.json:
Input string was not in a correct format.
Uploading Crash Report
ArgumentNullException: Value cannot be null.
Parameter name: source
  at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x0000d] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 
  at util.Traits.InitFromJson[T] (System.String filename) [0x00006] in <cb216d07482d44869895570eabbce045>:0 
  at ecs.FlyweightsDb.InitFromJson () [0x0005d] in <cb216d07482d44869895570eabbce045>:0 
  at ecs.Ecs.ReloadTraitsAndConfigs () [0x00000] in <cb216d07482d44869895570eabbce045>:0 
  at ecs.Ecs.Start () [0x0000b] in <cb216d07482d44869895570eabbce045>:0 

This is because I'm in Sweden, we use comma as a decimal number separator, so a decimal.parse might fail. If you force the current thread to "en-US" before loading JSON it might work.

Confirmed this by changing region to UK and it worked :)