Default camera cause fc

The rear camera suddenly stopped working. Itried to clean the cache, recovery and install a new rom
But the problem persist. Should i think it's an hardware issue or there some
More thing i can try?