When creating a new project in 1.18, it seems a no precompiled header option gets added to wscript file. Without it I get errors when adding files from previous lumberyard versions. I removed the no PCH option and manually created the precompiled header files, added them to waf_files list. Now the game compiles and runs but gEnv is unset, asserts do not work and so on. How do I fix this?
I fixed it by replacing inheritance in Module.cpp from Module to CryHoodModule like it used to be in previous versions.