The just released version 1.0.0 of the com.unity.services.moderation package does not compile when importing into a project. The following errors are reported in the console:
Library\PackageCache\com.unity.services.moderation@1.0.0\Runtime\ModerationPackageInitializer.cs(42,92): error CS0246: The type or namespace name 'Participant' could not be found (are you missing a using directive or an assembly reference?)
Library\PackageCache\com.unity.services.moderation@1.0.0\Runtime\ModerationPackageInitializer.cs(48,95): error CS0246: The type or namespace name 'Participant' could not be found (are you missing a using directive or an assembly reference?)
This can be solved by adding using Unity.Services.Moderation.Vivox; inside the #if UGS_MODERATION_VIVOX conditional compilation statement like this:
#if UGS_MODERATION_VIVOX
using Unity.Services.Vivox;
using Unity.Services.Moderation.Vivox;
#endif
After this, everything compiles.