missing a using directive or an assembly reference?

using UnityEngine;
using UnityEngine;

class MeshPostprocessor : AssetPostprocessor {

	void OnPreprocessModel () {
		(assetImporter as ModelImporter).optimizeMesh = false;
	}

}

nothing seems to be a problem here ? Im clueless as for what could be happening! Please help me , it wont let me build my game until it is fixed!

You have ‘using UnityEngine;’ twice. ‘AssetPostprocessor’ is an Editor class, so you need to change the second to ‘using UnityEditor’:

using UnityEngine;
using UnityEditor;
 
class MeshPostprocessor : AssetPostprocessor {
 
    void OnPreprocessModel () {
       (assetImporter as ModelImporter).optimizeMesh = false;
    }
}