Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Cannot See Quads

A topic by AnthonyUccello created Nov 01, 2021 Views: 237 Replies: 10
Viewing posts 1 to 11

Hello

I setup my unity project on a new computer and for some reason I can no longer see quads. The first time I opened the app, I could see quads and I was able to edit them. Ever since, whenever I open the project and try to edit the SuperText quads component nothing is visible.

When I try to add a quad nothing happens as you can see (where as obviously a new quad should appear)



I do get an error:

[Exception] ArgumentException: An item with the same key has already been added. Key: New Quad 3 

Heres a stack trace



This is a rather critical blocker so any advice or help is appreciated.

Also, one other thing I have noticed is edits to quad data do not seem to get noticed by version control. Whenever I do a new project checkout, I have to manually edit the SuperTextMesh component quads section and add back each quad. I wonder if there is a serialization bug?

Developer

Please try navigating to Clavian > SuperTextMesh > Resources > STMQuads and see if you have multiple quads there with the same name. The dictionary tool there might be getting confused by that. (Maybe the same asset got created twice upon import?) At the bottom of the TextData inspector, click "Refresh Database" to have it update changes made by editing the project folder.


Please let me know if this works!

(1 edit)

There were no duplicates in that folder but I deleted the New Quad 1-6 that was there.


Whenever I click refresh database I get this error:


[Exception] ArgumentException: An item with the same key has already been added. Key: New Quad 2

Is there somewhere else I can clear out the database?


I searched my project for New Quad 2 and it doesnt exist.




Also note I have 6 quads that should display but not still displays in the quad section


Note: Refreshing the database no longer shows an error but I still cannot see quads in the quads section

Developer

Is it possible a second "STMQuads" folder exists somewhere else in the project? The way resources work in Unity, it combines all resources folders into one, so maybe it's that...? That's the only thing that's coming to mind at the moment.

No theres just the one

I deleted the Clavian folder and reimported and its working.


My next question is, why do I need to manually re-create quads. When I make changes to the quads on an prefab, the changes are not noticed and doesn't get committed to github. Do you know why version control does not detect changes to the quad data?

Is it because the change lives inside the Clavian folder (which I have as an ignore)?

Developer

Hm, if you have the Clavian folder set to ignore, yes I think that will stop quads from being committed to github. Is it possible to un-ignore a subfolder, like the resources folder?

I will keep the resources folder unignored moving forward thanks.