mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-09-12 13:59:21 -05:00
null check
何故か null の時がある
This commit is contained in:
@@ -81,7 +81,7 @@ namespace UniGLTF
|
||||
{
|
||||
foreach (var key in m_keys)
|
||||
{
|
||||
if (k.type.IsAssignableFrom(key.Type))
|
||||
if (k.type != null && k.type.IsAssignableFrom(key.Type))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user