We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d9dbee commit 35cf2d3Copy full SHA for 35cf2d3
UnityGLTF/Assets/UnityGLTF/Scripts/Sketchfab/AssetBrowser/SketchfabBrowserManager.cs
@@ -96,6 +96,14 @@ public void parseModelData(JSONNode node)
96
hasAnimation = node["animationCount"].AsInt > 0 ? "Yes" : "No";
97
licenseJson = node["license"].AsObject;
98
99
+ // "My models" results don't have any license as they are "private download"
100
+ // for the author.
101
+ if(licenseJson.ToString() == "{}")
102
+ {
103
+ isModelAvailable = archiveSize > 0;
104
+ return;
105
+ }
106
+
107
formattedLicenseRequirements = licenseJson["requirements"];
108
109
if (formattedLicenseRequirements.Length > 0)
0 commit comments