We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b27b2e commit 7498fc5Copy full SHA for 7498fc5
source/ExportUnityPackage/export_unity_package.py
@@ -1548,6 +1548,10 @@ def importer_metadata(self):
1548
metadata = Asset.disable_unsupported_platforms(metadata, self._filename)
1549
metadata = Asset.apply_any_platform_selection(metadata)
1550
metadata = Asset.set_cpu_for_desktop_platforms(metadata)
1551
+ # Set validateReferences, if requested, which should be either 0 or 1
1552
+ validateRef = safe_dict_get_value(self._json, "validateReferences", default_value=2)
1553
+ if validateRef == 0 or validateRef == 1:
1554
+ metadata["validateReferences"] = validateRef
1555
return metadata
1556
1557
@staticmethod
0 commit comments