Shader reloading losing technique

Hi all,
I have been having a strange issue with DirectX shaders in Max. When the user first loads the file all shaders are working and correct. If you then reload one of the shaders but clicking “Reload” in the material properties the shader fails to work saying “no valid technique found”. The weird thing is the other materials are still working and they are running the same shader.
Also if I open the shader file in a text doc and re-save, max will reload the shader and it will be working again, and now the reload button works as well.

Any ideas about what would be causing this? Or any information on how max reloads/re-compiles shaders?

Cheers
Gareth

Which max version etc.? I’ve not had this exact thing happen but sometimes it can be flaky. When I have all the service packs installed(touch wood) mostly works fine.

I am up to date with 2011 64bit sp1 and hotfix 4. Have also tested on 2011 32bit and 2010 64 bit with same results.

G

hm, not sure, I don’t get this and I’m doing the same thing a lot, is your technique doing anything unusual or so on, mine are all quite straightforward with 1 pass etc.