diff --git a/UE4SS/src/GUI/LiveView.cpp b/UE4SS/src/GUI/LiveView.cpp index 485009f60..bd4f09dab 100644 --- a/UE4SS/src/GUI/LiveView.cpp +++ b/UE4SS/src/GUI/LiveView.cpp @@ -109,7 +109,8 @@ namespace RC::GUI { // TODO: Stop using the 'HashObject' function when needing the address of an FFieldClassVariant because it's not designed to return an address. // Maybe make the ToFieldClass/ToUClass functions public (append 'Unsafe' to the function names). - if (LiveView::s_need_to_filter_out_properties && object->IsA(std::bit_cast(FProperty::StaticClass().HashObject()))) + if (LiveView::s_name_to_search_by.empty() || + LiveView::s_need_to_filter_out_properties && object->IsA(std::bit_cast(FProperty::StaticClass().HashObject()))) { return; } diff --git a/UE4SS/src/UE4SSProgram.cpp b/UE4SS/src/UE4SSProgram.cpp index 87a3f0356..2680aa5a8 100644 --- a/UE4SS/src/UE4SSProgram.cpp +++ b/UE4SS/src/UE4SSProgram.cpp @@ -793,7 +793,6 @@ namespace RC if (settings_manager.General.UseUObjectArrayCache) { m_debugging_gui.get_live_view().set_listeners_allowed(true); - m_debugging_gui.get_live_view().set_listeners(); } else { diff --git a/assets/Changelog.md b/assets/Changelog.md index dc41f7f02..f56b8823d 100644 --- a/assets/Changelog.md +++ b/assets/Changelog.md @@ -61,11 +61,15 @@ Fixes BPModLoaderMod not loading when UE4SS initializes too late ([UE4SS #454](h Fixed PalServer not accepting connections from players ([UE4SS #453](https://github.com/UE4SS-RE/RE-UE4SS/pull/453)) +Fixed a crash that would occur randomly due to accidental execution of Live View search code ([UE4SS #475](https://github.com/UE4SS-RE/RE-UE4SS/pull/475)) + ### Live View Fixed the "Write to file" checkbox not working for functions in the `Watches` tab ([UE4SS #419](https://github.com/UE4SS-RE/RE-UE4SS/pull/419)) Reduced the likelihood of a crash happening on shutdown when at least one watch is enabled ([UE4SS #419](https://github.com/UE4SS-RE/RE-UE4SS/pull/419)) +Fixed constantly searching even if the search field is empty, and even if not on the tab ([UE4SS #475](https://github.com/UE4SS-RE/RE-UE4SS/pull/475)) + ### UHT Dumper ### Lua API