AQUAS : NullReferenceException: Object reference not set to an instance of an object
Hi, I received this information in the console of Unity 2018 2.5
NullReferenceException: Object reference not set to an instance of an object AQUAS_LensEffects.CheckIfUnderWater (Int32 waterPlanesCount) (at Assets/AQUAS/Scripts/AQUAS_LensEffects.cs:531) AQUAS_LensEffects.CheckIfStillUnderWater () (at Assets/AQUAS/Scripts/AQUAS_LensEffects.cs:619) AQUAS_LensEffects.Update () (at Assets/AQUAS/Scripts/AQUAS_LensEffects.cs:269)
That does not prevent me from working also to open in game mode but I would like to understand and also find the solution to this problem. thanks
Your answer
![](https://koobas.hobune.stream/wayback/20220612200249im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
"The associated script cannot be loaded" 0 Answers
Action (by collider) 0 Answers
Capsule collider in TERRAIN tree changes position 0 Answers
Index was out of range. error 1 Answer
Object reference not set to an instance of an object (c#) 0 Answers