Hello!
I recently removed a number of objects from one of my main scenes after removing the associated plugin, but when I build the project, the removed object still seems to be throwing a missing script error.
Has anyone seen anything like this before? I’m using Unity 2019 LTS.
Thanks.
All the time. Here’s a few things to investigate:
-
the error is coming from something that has nothing to do with what you think it is
-
you didn’t actually remove everything you needed to
-
you removed more than you needed to
-
something else is putting it back (some packages download and install crap before they build)
-
some code is guarded with a #if
and doesn’t get built except in the editor.
etc etc etc
Thank you for the quick response!
I’ve gone through and ctrl+F’ed through the entire project to see if there are any remnants of the extension (PlayWay Water) and it seems like I’ve gotten everything.
(Obviously that can’t be the case, but I’m just a little confused as to where it could be.)
You might need to bisect your scene(s) or projects in order to find what is blowing up, or else linearly search through the components of your scene(s), as long as they are not too large.
There are also missing script finders on the asset store and around the webs.