Hi I was thinking of joining late. Sent you a friend request. My experience is with Unity/C#, but I am not much of an ideas guy.
Recent community posts
Heard about this from Vinesauce. Super cool and gonna use some of the songs as placeholder music for my game.
I really wish there was some way to export the songs though. I had to jump through all kinds of hoops to get a song saved.
Second to that, a play/pause feature.
Upon further investigation, I have concluded that this error is caused when the prefab name contains spaces.
Problematic code resides at line 152 and 153 of SimpleTiledModel.cs. Not sure I can offer a fix, the code is pretty compact.
At the very least updating the readme.md file would be advisable for future users.
Whenever I try to use a prefab with T, I get an error about a key not found in the dictionary:
KeyNotFoundException: The given key was not present in the dictionary.
System.Collections.Generic.Dictionary`2[System.String,System.Int32].get_Item (System.String key) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Collections.Generic/Dictionary.cs:150)
SimpleTiledModel..ctor (System.String name, System.String subsetName, Int32 width, Int32 height, Boolean periodic) (at Assets/unity-wave-function-collapse/impl/SimpleTiledModel.cs:157)
SimpleTiledWFC.Generate () (at Assets/unity-wave-function-collapse/SimpleTiledWFC.cs:89)
From what I can tell, every other tile setting works. (But it has taken a lot of trial and error so far)
Also am I correct in understanding that it should be including "empty" spaces as its own tile? It has not been doing this for me.