When many players fail to perform and there is a high level of inconsistency, then the coach has to be responsible at some point.
Having said that, if you're a 90 million Euro striker, you should be able to do more.
Allegri is a disaster at coaching attacking players, at least this iteration of Failegri, but Vlahovic should be doing more, much more.