Cameras.cfg: "This GUID must be unique", so why aren't they?

The documentation for the GUID parameter in [CAMERADEFINITION.N] in cameras.cfg says:

This GUID must be unique.

Does that mean globally unique, or just unique in the file, or unique in the package? Presumably not globally unique, as many bundled aircraft use the same copy-pasted GUIDs for many of their cameras. Or is that a bug, but it doesn’t have any noticeable effect (yet)?

If these GUIDs really must be globally unique, then some automated sanity check is needed to make sure the bundled aircraft and aircraft accepted into the Marketplace really do have unique GUIDs in cameras.cfg. Also, the sample cameras.cfg generated by DevMode needs to have fresh GUIDs generated each time.

1 Like

Hello @TangoMikeLima ,
While there is no problem with having two different packages with the same camera cfg GUIDs, as they are loaded independently, it is indeed good practice to have unique IDs, as the name suggests.

I’ve created a ticket for this in our backlog.

Thank you for reporting this.

Regards,
Boris

1 Like