Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Hello pizza doggy, 

I got 1 problem and it is probably not from your script, its somthing with my lightning, i did everything that i had to to, i play tested and the sounds and everything is working but the spotlight is not really a circle and its not going infront of me its like on the floor its really buggy,

Do you have a fix for it

I would really appreciate if you do, i also put an image for example of how it looks 

Thanks

Hi! Please show me the inspector window with the flashlight controler object selected!

here is the image, hope this helps

When the main camera moves, does the flashlight move too, or is it stuck in place? Are there any errors in the console from the flashlight controller script when the game is playing?

The flashlight moves as it is supposed to but i do get an warning: 

CommandBuffer: built-in render texture type 3 not found while executing  (SetRenderTarget depth buffer)

UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) 

Im not sure what it means or how to fix ive tried a few things but it just doesnt go away

I hope you know a fix

Thanks 

The error message is unrelated! Please place the flashlight controller object inside the main camera in the scene, then set the location and rotation of the flashlight controller object to zero, and then move the flashlight controller out of the main camera. Please let me know if it's better then!

Hello! i did some adjustments in the lighting tab and it look a bit better now, just the floor is a bit buggy but thanks for the help!

Hi! I'm glad it was just the lighting issue! Best of luck moving forward with your game!

Hello, just an update that its really good now, i switched from urp to hdrp and now its looking perfect, thanks!

That's great! Good luck with the development!