Troubleshooting this TutorialSometimes, even though you try hard to understand the information in a tutorial, things don't work out quite like you want it to. This page is here to help you resolve any problems you might be having with the attenuation audio effect tutorial. The Common Mistakes section describes common problems that people have when doing the things in this tutorial, and how to resolve them. The Frequently Asked Questions section describes questions that people have that aren't related to mistakes, but rather, trying to understand the stuff better or exploring how it can be used. If your problem or concern isn't addressed here, feel free to add a comment below, so that I know where you're having trouble. I like to keep these pages fairly clean, so I may remove comments that I felt like have been addressed. If I remove your comment and you don't feel like the problem has been fixed, repost the question and we'll take another look at it. If a tutorial has a mistake in it, I will fix the mistake and reply to the comment with a brief explanation. However, after a couple of weeks I'll likely go back and remove the original comment as well as my reply, because, hopefully, the problem will have been fixed, and it won't be a concern any more. |
Common MistakesNone listed yet… |
Frequently Asked QuestionsNone listed yet… |


Hello,
Really helpfull site!!!
Just followed your 3D audio tutorial which worked great up untill i added the distance attenuation in xact.
soundBank = new SoundBank(audioEngine,"Content/Sound Bank.xsb"); This resource could not be created.
this flags up when i try to build.
Any suggestions?
Thanks for the tutorials!!!
Rich
I know this comment is an old one, but anyway, as this could help someone: the correct path in tutorial 8 was "Content/Sound/Sound Bank.xsb"; maybe you overlooked some similar intermediate folder.
In my case, compiling directly from XACT in order to produce the three files for MonoGame, I know they are created in a ‘Win’ subfolder (there is also an ‘Xbox’ subfolder), which I had to take care of.
Also: in MGCB Editor, maybe you need to switch the ‘Build Action’ for the file to ‘Copy’ instead of ‘Build’ (I know this has to be done in order for MonoGame to correctly process these specific files), but I am not sure whether this is the case through XNA Game Studio.