|
Post by Skizooo on Apr 30, 2022 0:31:32 GMT
Hi! Awesome product and such. Super great work! I'm using v2020.3.8, with the optional Asmdef packages installed
When I try to build, I get 73 errors all saying that I'm missing Asmdef references, and all of which originating from scripts within the Relations Inspector folder. They use the RIScripts definition, which currently references MAScripts & RIEditor. Are those the only ones that need to be referenced? There are no errors normally, only when I try to build... I don't get it lol.
Thanks for the help! <3
|
|
|
Post by DarkTonic Dev on Apr 30, 2022 0:47:07 GMT
Hmm, please make sure you are on the very latest version of Master Audio 2022, which as of right now is 1.0.1. Last time I tried, I got zero errors with the asmdef. So, a couple questions: 1) Which package for asmdef's did you install? We have 4 different ones. 2 with Addressables and 2 without. 2) When you "build", you are exporting for which platform? Or are you just talking compiling your code and not exporting? Actually, try this asmdef package (attached). It seems I did an update on them since the last update. MA_asmdefs.unitypackage (851 B) If that works, I'll publish the update. Thanks!
|
|
skizooo
New Member
Posts: 3
Posts: 3
|
Post by skizooo on Apr 30, 2022 4:54:15 GMT
Hey thanks for the quick reply! I'm building out to WebGL, and I don't get the errors in the editor. I can play the game in there just fine. I haven't upgraded to 2022 yet. I will eventually though I installed the normal MA_asmdefs.unitypackage That package you uploaded gives the same errors as before. They all look similar to these... Assets\Plugins\Editor\RelationsInspector\BackendUtils\BackendUtil.cs(6,26): error CS0234: The type or namespace name 'Extensions' does not exist in the namespace 'RelationsInspector' (are you missing an assembly reference?) Assets\Plugins\Editor\RelationsInspector\BackendUtils\MinimalBackend.cs(17,30): error CS0246: The type or namespace name 'GetAPI' could not be found (are you missing a using directive or an assembly reference?) Could my folder structure be affecting it? I put it all into a Plugins folder lol
|
|
|
Post by DarkTonic Dev on Apr 30, 2022 5:02:06 GMT
I thought everything was in plugins folder by default for our plug-in. If it wouldn't be too much trouble I would ask you to install the plug-in, restart Unity then reinstall Master Audio. So that will be in the normal folders. If you moved anything from the default folder most likely the asmdef will install in the wrong folder which will make it not work so that does make sense if you move things that it might break.
I would say try to get it working with default folders first and asmdef. And then if you can move things around it may be work.
Obviously moving the folders around before you install the assembly definitions wouldn't work for the reason above
|
|
skizooo
New Member
Posts: 3
Posts: 3
|
Post by skizooo on May 1, 2022 19:05:59 GMT
(my mistake, I didn't mean that I moved the folders. They're in the Plugins folder by default.) ok ok, so I found that the 2 assembly definitions within the Editor folder each need to be set to Include "editor" and Exclude everything else. I can build just fine with those in place! You say that you don't need to do this? I tried a new empty project and got the same results... I am using Unity 2020.2.5f1, and MA v2020.3.8 so sure they're a bit outdated. But idk why version would matter. ps. I got the same problem with the asset pack "Dungeon Architect" too. Same solution there as well! Maybe it's a problem with me lol
|
|
|
Post by DarkTonic Dev on May 1, 2022 21:49:03 GMT
So a little bit about what you're saying. I had previously marked them in an update to include Editor and exclude everything else. However that led to problems when trying to view our scripts in the Inspector (it would say it's an "editor script" and not display the inspector). They have since been switched back to "any platform" and excluding nothing. I suggest you try the same.
-B
|
|
skizooo
New Member
Posts: 3
Posts: 3
|
Post by skizooo on May 2, 2022 14:51:36 GMT
Well regardless, I'll just do what works for me lol. I can't build with it otherwise, and I can view the inspector just fine with it set to Editor. Sorry to waste your time.
|
|
|
Post by DarkTonic Dev on May 2, 2022 17:40:53 GMT
Sounds like you may have issues again after you upgrade. If that's the case, re-activate this thread.
-B
|
|