uni-bremen-agst/SEE

MissingReferenceException in HelpMenu

Closed this issue · 2 comments

There is a missing reference exception bug with the HelpMenu.
The playback of the first video works, but when a second video is supposed to be started afterward, a MissingReferenceException occurs, indicating that no VideoPlayer is present. (see the video below)

MissingReferenceException: The object of type 'VideoPlayer' has been destroyed but you are still trying to access it.
Your script should either check if it is null or you should not destroy the object.
SEE.UI.HelpSystem.HelpSystemEntry.UpdateDesktop () (at Assets/SEE/UI/HelpSystem/HelpSystemEntry.cs:171)
SEE.UI.PlatformDependentComponent.Update () (at Assets/SEE/UI/PlatformDependentComponent.cs:107)

Additionally, the video for DrawFree is missing.
However, this is not relevent, as DrawFree is intended to be removed. DrawFree is only visible to the executing user and serveres no purpose.

WindowsMediaFoundation received empty file C:/Repo/SEE/Assets/StreamingAssets\HelpSystem/Videos/DrawFreeRoom.mp4

Bug_HelpMenu.mp4

I think the problem is caused by changes in d589ecb. Reverting this fixed it locally for me. Maybe @koschke should look here too, before I change it back to old state.

The path for DrawFree is corrected.

I fixed this problem.