Welcome to WSL!

Make yourself at home, but before posting, please may I ask you to read the following topics.


Posting 101
Server space, screenshots, and you

Thank you!

PS. please pretty please:


Image

Bug in TimeMachine?

User avatar
bryanfordney
Fusioneer
Posts: 129
Joined: Tue Jan 29, 2019 1:10 pm
Location: Atlanta, GA
Been thanked: 2 times

Bug in TimeMachine?

#1

Post by bryanfordney » Mon Jun 03, 2019 10:27 am

I'm attempting to render a scene that uses TimeMachine. Works fine in the Fusion GUI. But sent to the render farm (Deadline), I get a strange error:

Code: Select all

2019-06-03 13:23:34:  0: INFO: LOG: Render started at Mon 1:23PM  (Range: 0.0 to 9.0)
2019-06-03 13:23:37:  0: INFO: LOG: ...l\fusion\Reactor\Deploy\Fuses\Modifiers\TimeMachine.fuse:1278: attempt to perform arithmetic on local 'time' (a nil value)
Not sure why "time" would be nil here. Weird.

User avatar
SecondMan
Site Admin
Posts: 4501
Joined: Thu Jul 31, 2014 5:31 pm
Answers: 28
Location: Vancouver, Canada
Been thanked: 121 times
Contact:

Re: Bug in TimeMachine?

#2

Post by SecondMan » Mon Jun 03, 2019 1:03 pm

Can you supply some more info please?

OS, Fusion version... If you can single out the issue and share a comp even better.

Not sure why it would fail on a farm. All that requests is the current time using req.Time

User avatar
bryanfordney
Fusioneer
Posts: 129
Joined: Tue Jan 29, 2019 1:10 pm
Location: Atlanta, GA
Been thanked: 2 times

Re: Bug in TimeMachine?

#3

Post by bryanfordney » Thu Apr 23, 2020 7:51 am

Hi Secondman, I'm reviving this old post because I found a "solution" (or at least I have identified where the problem is occuring).

The problem is that, for some reason, "tsf" and "tef" are nil sometimes, and only when using TM via the Fusion Render Node.

My solution was to check for nil after getting the inputs, and if they are nil, setting them to a value. In my case I chose 1 because usually the first frame in my comps is 1. That's why I say this isn't really a solution.

Code: Select all

	local tsf = InTargetStartFrame:GetValue(req).Value
	local tef = InTargetEndFrame:GetValue(req).Value

	if tsf == nil then
		tsf = 1
	end

	if tef == nil then
		tef = 1
	end

User avatar
SecondMan
Site Admin
Posts: 4501
Joined: Thu Jul 31, 2014 5:31 pm
Answers: 28
Location: Vancouver, Canada
Been thanked: 121 times
Contact:

Re: Bug in TimeMachine?

#4

Post by SecondMan » Thu Apr 23, 2020 12:26 pm

That's odd. Can you post the TimeMachine in question, please? Just so I know what the settings are.