You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When switching from a background with a custom scene to a background with an invalid scene or no custom scene, it does not reset the 'current_viewport' meta data. This causes problems later on as when it is fetched instead of null, it is a reference to a freed resource.
To Reproduce
Steps to reproduce the behavior:
create timeline
add background with custom scene
add background with no custom scene
add another background with a custom scene.
add text events in between to prevent the timeline from speeding through it.
test the timeline.
Expected behavior
There should be no halt caused by a freed resource, instead the timeline should have moved onto the next event.
Screenshots
System (please complete the following information):
When no new viewport is available, it should remove the meta data for the current_scene, so that when it attempts to retrieve it will get null as a default value instead. That way the rest of the event will flow as expected.
The text was updated successfully, but these errors were encountered:
Pheubel
changed the title
Background holder has dnagling reference to
Background holder has dangling reference to removed viewport
Dec 16, 2023
The problem
When switching from a background with a custom scene to a background with an invalid scene or no custom scene, it does not reset the 'current_viewport' meta data. This causes problems later on as when it is fetched instead of null, it is a reference to a freed resource.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
There should be no halt caused by a freed resource, instead the timeline should have moved onto the next event.
Screenshots
![image](https://private-user-images.githubusercontent.com/22686676/290996091-0600a979-2e93-456d-b198-0b174ee44f0c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE3NDY0MzMsIm5iZiI6MTcyMTc0NjEzMywicGF0aCI6Ii8yMjY4NjY3Ni8yOTA5OTYwOTEtMDYwMGE5NzktMmU5My00NTZkLWIxOTgtMGIxNzRlZTQ0ZjBjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzIzVDE0NDg1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQwOTc4NzQwYzE0MDA4YjI2MjU5ZjQxZWE2NTNhMDk2YjI1OGI1NzAzZTgxOThkMDExMDZkMjcwMjJjZjBjMzQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.glr6ci-EW1SOYJtEhk0bbXJpzkJJKEkayDIYL3471Yw)
System (please complete the following information):
Solution
When no new viewport is available, it should remove the meta data for the
current_scene
, so that when it attempts to retrieve it will get null as a default value instead. That way the rest of the event will flow as expected.The text was updated successfully, but these errors were encountered: