Config File Unity

Config file I have some sort of error in here, can't find the info on the new config files. Using 2.71 Has the format changed, or do I have a typo here?
{
"User": {
"Author": "AncientWorlds"
},
"Video": {
"Resolution": 2048,
"OfflineResolution": 4096,
"FPS": 30,
"OfflineFPS": 60,
"ContainerType": "mp4",
"CameraSmoothing": 0.98,
"Encoder": "h.264",
"SaveCameraPath": true,
"FOV": 80
},
"Flags": {
"LargeMeshSupport": false,
"PostEffectsOnCapture": true,
"ShowWatermark": false,
"ShowHeadset": false,
"ShowControllers": true,
"SnapshotWidth": 4096,
"SnapshotHeight": 2304,
"FOV": 80,
"DisableAudio": false,
"UnlockScale": true
},
"Export": {
"ExportBinaryFbx": true,
"ExportFbxVersion": "FBX201400",
"ExportStrokeMetadata": true,
"KeepStrokes": true,
"KeepGroups": false,
"Formats": {
"fbx": true,
"glb": true,
"newglb": true,
"json": false,
"latk": false,
"obj": true,
"stl": false,
"usd": true,
"wrl": false
}
}
}
{
"User": {
"Author": "AncientWorlds"
},
"Video": {
"Resolution": 2048,
"OfflineResolution": 4096,
"FPS": 30,
"OfflineFPS": 60,
"ContainerType": "mp4",
"CameraSmoothing": 0.98,
"Encoder": "h.264",
"SaveCameraPath": true,
"FOV": 80
},
"Flags": {
"LargeMeshSupport": false,
"PostEffectsOnCapture": true,
"ShowWatermark": false,
"ShowHeadset": false,
"ShowControllers": true,
"SnapshotWidth": 4096,
"SnapshotHeight": 2304,
"FOV": 80,
"DisableAudio": false,
"UnlockScale": true
},
"Export": {
"ExportBinaryFbx": true,
"ExportFbxVersion": "FBX201400",
"ExportStrokeMetadata": true,
"KeepStrokes": true,
"KeepGroups": false,
"Formats": {
"fbx": true,
"glb": true,
"newglb": true,
"json": false,
"latk": false,
"obj": true,
"stl": false,
"usd": true,
"wrl": false
}
}
}
8 Replies
AncientWorlds
AncientWorlds3mo ago
Config File Unity This is the error I'm seeing
User-visible error: Warning reading Open Brush.cfg
Detail: Could not find member 'ExportStrokeMetadata' on object of type 'ExportConfig'. Path 'Export.ExportStrokeMetadata', line 31, position 27.
UnityEngine.Debug:LogErrorFormat (string,object[])
TiltBrush.OutputWindowScript:Error (TiltBrush.InputManager/ControllerName,string,object) (at Assets/Scripts/OutputWindowScript.cs:126)
TiltBrush.OutputWindowScript:Start () (at Assets/Scripts/OutputWindowScript.cs:246)
User-visible error: Warning reading Open Brush.cfg
Detail: Could not find member 'ExportStrokeMetadata' on object of type 'ExportConfig'. Path 'Export.ExportStrokeMetadata', line 31, position 27.
UnityEngine.Debug:LogErrorFormat (string,object[])
TiltBrush.OutputWindowScript:Error (TiltBrush.InputManager/ControllerName,string,object) (at Assets/Scripts/OutputWindowScript.cs:126)
TiltBrush.OutputWindowScript:Start () (at Assets/Scripts/OutputWindowScript.cs:246)
So it seems to be ignoring the config, and just using the internal default to export= No newglb, has latk, etc
andybak
andybak3mo ago
That error should be harmless. The reason the other stuff is being ignored is that The export format stuff has not been released to the beta yet - it's only part of an experimental branch.
AncientWorlds
AncientWorlds3mo ago
To verify, which experimental branch should I be using?
andybak
andybak3mo ago
although @mikeage @mikesky - shall we merge all the non-draft PRs soon so we can get this stuff out there a bit more?
AncientWorlds
AncientWorlds3mo ago
Thanks. Is there a way to comment out code in the config file? Would make it easy to compare the importers
andybak
andybak3mo ago
You shouldn't need to. Unexpected entries should be ignored. (you'll get "User Facing Error" but you can ignore that)
mikeage
mikeage3mo ago
My answer is almost always yes.