Bug with Timelines?

I havn’t been on here in a while so can’t remember if this is where I should be posting this. I did put it on answerhub but then I remembered that no one bothers with answerhub :slight_smile:

Build Type: Binary

Build Version: 4.13.0-3106830+++UE4+Release-4.13

Description:

Not sure if this is considered a bug or it’s working as expected but here goes.

If I call a timeline from within a function and there is no ‘get’ variable node for that timeline somewhere in the main ‘Event Graph’, when the function is called I get an accessed none error in the log:

LogScript:Warning: Accessed None trying to read property Timeline_test TimelineTest_C /Game/ThirdPersonBP/Maps/UEDPIE_0_ThirdPersonExampleMap.ThirdPersonExampleMap:PersistentLevel.TimelineTest_49 Function /Game/ThirdPersonBP/TimelineTest.TimelineTest_C:TestTimeLine:000D PIE:Error: Error Blueprint Runtime Error: Accessed None trying to read property Timeline_test from function: ‘TestTimeLine’ from node: Play from Start in graph: TestTimeLine in object: TimelineTest with description: Accessed None trying to read property Timeline_test

Example:

With a new project I’ve created a simple actor called ‘TimeLineTest’ that calls a function to play a timeline called ‘TimeLine_Test’. The actor is then placed in the level.

In the ‘TimeLineTest’ actor I’ve created a simple key press in the ‘event graph’ that calls a simple function, the function itself tells the time line to start playing.

http://i1382.photobucket.com/albums/ah256/chris_donovan1/2_zpspakmjerd.png

Playing the game if you press the input to trigger the ‘TestTimeLine’ function you get the accessed none error.

http://i1382.photobucket.com/albums/ah256/chris_donovan1/3_zpsfmbrqeuq.png

Workaround:

Placing a get reference and then connecting to it another timeline node in the main ‘event graph’ fixes the problem. The odd thing is it doesn’t even need to be linked up to any other nodes, it can just sit there doing nothing.

Here’s the updated event graph with the fix:

http://i1382.photobucket.com/albums/ah256/chris_donovan1/4_zps5svoyxso.png

and here’s in game running the function and it working.

http://i1382.photobucket.com/albums/ah256/chris_donovan1/5_zpsvo1htwyf.png

I think I just remembered why I don’t bother posting much on here anymore…

It looks like a bug, did you submit is as a bug report on answerhub? Epic seems to reply quickly to posts in the bug report section.

sorry stinking mood yesterday, had a feeling a narky post would get more response than a post I spent 20 minutes writing and god knows how long trouble shooting the actual issue in my own time :slight_smile:

Yeah about as much response on the Answerhub as on here, even followed the bug report guidelines, put all the info in as requested…sod all. No acknowledge that its a bug or works as intended or that I even exist.

To be honest i don’t really care anyway I’ve got a workaround just thought I’d try be helpful in case anyone else had encountered the problem. Probably shouldn’t have wasted my time and probably won’t again :slight_smile: