Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

24.09 Release - AZStd::string serialization problem within prefab when ENTER pressed #18533

Open
jhanca-robotecai opened this issue Dec 4, 2024 · 0 comments
Assignees
Labels
kind/bug-2409 Used for stabilization/24.09 issues needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. sig/content Categorizes an issue or PR as relevant to SIG Content.

Comments

@jhanca-robotecai
Copy link
Contributor

Bug Description

Components with AZStd::string crash O3DE Editor when added to prefab and when the value change (as an override) is followed by the [ENTER] key.

Assets-Required

Test prefab was used: https://github.com/jhanca-robotecai/O3DETestProject/blob/development/Prefabs/TestPrefab.prefab to isolate the issue; the whole project can be used for tests (commit 6d78645)

Steps to Reproduce

  1. Create a prefab with a component that has AZStd::string field
  2. Add this prefab to your scene
  3. Change the value of the string in the override mode
  4. Press [ENTER] key to change the focus from the line edit back anywhere
  5. Segmentation fault

Note: the Editor does not crash when changing the focus from the line edit with a mouse click

Expected Behavior

The focus of the line edit is lost; the name change is applied; the Editor can be used

Actual Behavior

Segmentation fault

Screenshots/Videos

EnterCrash.mp4

Found In Branch

main 2409.1

Commit ID From

c602b49

Desktop/Device

Ubuntu 2204 Linux PC
i7-14700K
64 GB RAM
NVIDIA GeForce RTX 4070 Ti SUPER

Additional Context

Backtrace from lldb and gdb attached.
Backtrace_gdb.log
Backtrace_lldb.log

@jhanca-robotecai jhanca-robotecai added needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. kind/bug-2409 Used for stabilization/24.09 issues labels Dec 4, 2024
@spham-amzn spham-amzn added sig/content Categorizes an issue or PR as relevant to SIG Content. and removed needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. labels Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug-2409 Used for stabilization/24.09 issues needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. sig/content Categorizes an issue or PR as relevant to SIG Content.
Projects
None yet
Development

No branches or pull requests

3 participants