Using documentation, I have created 2 cameras for my character and assigned them the appropriate culling masks. For some reason one camera appears to stop working and the game gives the impression that the game has froze (which it hasn’t). Then by left clicking, the cameras appear to being working properly.
Along with some pictures that may be of use, I have uploaded a quick video of the problem taking place. The freezing begins at 5 seconds and ends at 10 seconds, as I left click.
I have done some more testing on my bug and it seems that it only happens after shooting a raycast. I can walk about to my hearts content, but when I shoot a raycast one of the cameras appears to stop working.
An update with another video (the freeze happens at 15 seconds) below the wad of text.
After reading documentation on culling layers, clipping planes and perspective/orthographic; I tried to fix the issue for most of the day, but to no avail.
It seems like one camera ‘takes over’ from another and as it is set to Depth Only, gives the illusion that the game is frozen. The effect is only then disabled by me shooting another particle.
I’m completely stuck and would really appreciate any help, even if it was more of a query for more information. If these projectiles were functional I could finally move on to the next part of my project.