On 02/01/2013 at 07:38, xxxxxxxx wrote:
I'm on C4D Studio 14.034 (RC68643)).
While working in the Expression Editor lately sometimes suddenly the code doesn't compile any more.
I write a few lines of code, I click Compile. "No Errors!". I play the TimeLine, everything works as expected. I add a few more lines, an extra function here, a few variables there, blahblah. I click Compile, I fix a few errors, I click Compile again. "No Errors!". I play the TimeLine, everything works as expected. (I repeat this process a few dozen times.) ....
Then, at a random point in time and for no reason I can understand, although I click Compile, suddenly the code in the Tag or Effector doesn't compile any more.
So there's nothing wrong with my code, everything runs smoothly, I do whatever edit ( a common task is enough, like commenting out a print command or something ) and then when I click Compile nothing changes. Any other functionality in Cinema continues to work as normal, it's just that the code no longer compiles.
So I try to fix it :
I click the Compile button a few more times, I Enable /Disable the Tag or Effector a few times, I redraw the Screen a few times, I go back to frame 0 in the Timeline a few times,... hoping to trigger a response, but alas...
(side remark : If I save the file at this point and then reopen it (Save Incremental and Revert to Saved) the edits to my code are no longer there; so cinema wasn't aware of the fact that there even was new code to be saved, even if it hadn't compiled yet.)
Only fix I found :
whenever my code doesn't seem to compile, I Copy it, add a new Tag or Effector to the Scene to paste my code into, and delete the "old" Tag or Effector. That works fine until, sooner or later, the issue comes up again. It's a dull and frustrating workaround, especially when there's User Data to be added time and time again.
I can't produce an example, as it just seems to happen randomly, so I can't reproduce the issue.
I've only been doing Python Tags and Effectors recently, but this possibly also happens with Generators, Coffee, ...
Was just wondering, does this sound familiar to anybody ?
Has this happened to you before ? What did you do ?
If this is a bug, I can't imagine nobody else is pulling their hair out.
What do I do ?
Just getting some input before I contact Support.