Search Issue Tracker
In Progress
In Progress in 6000.0.X, 6000.2.X, 6000.3.X
Fixed in 6000.4.0a1
Votes
0
Found in
6000.0.51f1
6000.1.9f1
6000.2.0b7
6000.3.0a5
6000.4.0a1
Issue ID
UUM-110165
Regression
No
[Linux] Crash on VideoPlayer::InvokeScriptCallbacks when domain reloads while playing a video
Reproduction steps:
1. Create a new “Essentials Pathway” project
2. Open any script from the Assets window in a code editor
3. Start playing a video from the Tutorials window
4. While the video is playing, cause Domain Reload by editing a script
5. Save the changes and go back to the Editor
6. Repeat steps 3-5
Expected result: Video continues playing or stops
Actual result: The Editor crashes
Reproducible with: 6000.0.51f1, 6000.1.9f1, 6000.2.0b7
Couldn’t test with: 2022.3.63f1 - Could not find a tutorial with video
Reproducible on: Ubuntu 24.04
Not reproducible on: Windows 10
First lines of the stack trace:
#12 0x007ddd023e3a5d in mono_runtime_invoke
#13 0x005ca820da31c3 in scripting_method_invoke(ScriptingMethodPtr, ScriptingObjectPtr, ScriptingArguments&, ScriptingExceptionPtr, bool)
#14 0x005ca820d7acb7 in ScriptingInvocation::Invoke(ScriptingExceptionPtr, bool)
#15 0x005ca821967a34 in VideoPlayer::InvokeScriptCallbacks()
#16 0x005ca82195e5c0 in VideoPlayer::VideoUpdate(bool&)
#17 0x005ca82195e22a in VideoManager::VideoUpdate()
Note:
- Not all videos crash and reproduction can sometimes fail
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Channel remapping dropdown in the Terrain Layer does not open when clicked on the title
- The Editor freezes indefinitely when a large number of elements are entered in the Subgraphs or Categories lists
- Some Visual Effects package Assets links to documentation are not working
- Heatmap asset’s documentation button in the Inspector window leads to “Sorry... that page seems to be missing!” page when clicked
- Crash on MonoBehaviour::CallMethodIfAvailable when performing various actions
Resolution Note (fix version 6000.4.0a1):
The VideoPlayer was emitting the `started` event after Stop() was called, leading to use of stale scripting objects if Stop() is called after a domain reload. Now avoiding post-Stop() callbacks.