::We’ve recently received a report about an error that appears when building with the Underwater Asset Pack.
If you are seeing Assets\Underwater-Effect\Scripts\Miscellaneous\TagSelf.cs(8,10): error
CS0246: The type or namespace name 'MenuItemAttribute' could not be found
(are you missing a using directive or an assembly reference?)
when attempting to build, a solution is to either:
A) Wrap the entire script with a conditional by adding #if UNITY_EDITOR
at the first line of the script, and then #endif
at the last line.
B) Move the script into an Editor folder, this will exclude the script from being included with the build.
We will update the asset pack soon, but you can use this fix in the meantime.