Yes. There is no problem about runtime creation. Problem arises when compiling.

There is a workaround for this. i just saved $$m file but not compile it. After that, i've opened it with wed then compiled it from wed.

But still i wanted to know the cause of the problem. Compiling with wed each time is a waste of time.

Edit: i found the problem. it's about entity type. (3 or 7). It was caused by a mistake in my code.

Last edited by Emre; 06/06/18 07:37.