moat
New Member
Posts: 4
Posts: 4
|
Post by moat on Jun 18, 2021 16:58:30 GMT
I'm getting compiler errors after:
com.unity.addressables v1.16.19 installed installing the ASMDEFS from MA_asmdefs.unitypackage enabling Addressables (in the Welcome window)
The errors:
Assets\ThirdParty\Subsystem\MasterAudio\DarkTonic\MasterAudio\Scripts\Singleton\AudioAddressableOptimizer.cs(15,16): error CS0246: The type or namespace name 'AsyncOperationHandle<>' could not be found (are you missing a using directive or an assembly reference?)
Assets\ThirdParty\Subsystem\MasterAudio\DarkTonic\MasterAudio\Scripts\Singleton\AudioAddressableOptimizer.cs(21,35): error CS0246: The type or namespace name 'AsyncOperationHandle<>' could not be found (are you missing a using directive or an assembly reference?)
I originally had a LOT more compiler errors but was able to clear those by adding Unity.Addressables to MAScripts.asmdef There are probably more Assembly Definition References that I need to add to clear these last two errors but adding Unity.Addressables should have solved these ones as well, so I'm at a stalemate.
Got any insight into this?
|
|
|
Post by DarkTonic Dev on Jun 18, 2021 17:29:50 GMT
Not sure I've tried this combination, but you'll first need to tell me which version of Unity you're on so I can try it over here. And also which build platform you're targeting (it sometimes matters).
Thanks, -Brian
|
|
moat
New Member
Posts: 4
Posts: 4
|
Post by moat on Jun 18, 2021 22:18:48 GMT
Not sure I've tried this combination, but you'll first need to tell me which version of Unity you're on so I can try it over here. And also which build platform you're targeting (it sometimes matters). Thanks, -Brian Unity: 2021.1.9f1 PC (error occurs on both x86 and x86_64)
|
|
|
Post by DarkTonic Dev on Jun 18, 2021 22:29:01 GMT
To solve and compile again you'll need to also add the following
Unity.ResourceManager - add to MAScripts. Unity.Addressables - add to MAEditor.
I will make separate asmdefs for people who enable Addressables for the next release so you don't have to do these manual steps.
Thank you, -Brian
|
|
moat
New Member
Posts: 4
Posts: 4
|
Post by moat on Jun 18, 2021 22:45:22 GMT
To solve and compile again you'll need to also add the following Unity.ResourceManager - add to MAScripts. Unity.Addressables - add to MAEditor. I will make separate asmdefs for people who enable Addressables for the next release so you don't have to do these manual steps. Thank you, -Brian Success! Thank you for the fast turnaround on this.
|
|
|
Post by DarkTonic Dev on Jun 19, 2021 1:19:33 GMT
No problem, glad to help!
|
|