Technical details

Support Informations
+ API Compatibility level is .Net Standard 2.1
+ Support High Stripping Engine Code.
+ Supports Unity 2019.4 and tested on Unity 6000.3.x LTS

Memory Allocation Claims
All profiled memory snapshot of the non-allocation calls are made in Deep Profile with a project having the Incremental GC disabled.

Enabling the Incremental GC might add entries of 32 bytes logged as such Object.wbarrier_conc(), which is not coming from the AudioSystem.

Note that we are using warmed up pools and respect that boundaries when profiling, you might get different results if you use lazy initialization or a higher amount of AudioSource. You can tweak those settings in AudioUtils.cs.

Additional dependencies

The package will work best if you place it under YourUnityProject/Packages, this way it will fetch the proper dependencies.

A certain level of Unit Tests coverage for the package is provided without MOQ_TESTING and PERFORMANCE_TESTING defined as scripting symbols, but it won’t reach 100% coverage without them.

To enable it, you will need to provide a version of Moq 4.16.1 from the dependency already preset in package.json otherwise through your own means. Also, it requires “com.unity.test-framework.performance”: “2.8.1-preview” also provided as a dependency in pacakge.json.

For the Moq 4.16.1 re-wrap you will need to modify your Manifest.json to add the following scopedRegistries

"scopedRegistries": [
        {
            "name": "package.openupm.com",
            "url": "https://package.openupm.com",
            "scopes": [
                "com.adrenak.moq.upm"
            ]
        }
    ],