@Kasuno in my case the FlatLitToonCore.cginc and FlatLitToonCore.cginc.meta was missing upon loading the scene. Adding it fixed it.