You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
o3de/Code/Tools/SerializeContextTools
Mike Balfour d084027b6e
Bugfixes to enable slice-to-prefab conversion to run with less warnings/errors/crashes (#768)
While trying to process all slices and levels in Automated Testing, a few bugs came up that needed to be addressed:
- [LYN-3832] TransformComponent had a field removed without updating the version number and converter, which caused a lot of excessive warnings
- SliceComponent would crash in debug builds on instantiation failures due to a null dereference that was guarded against in most but not all places
- SliceConverter now detects when nested slices exist and gracefully warns about it.
- InstanceUpdateExecutor / TemplateInstanceMapper will now immediately remove instances that are unregistered, so that any in the queue don't get processed on a subsequent tick.  This was causing crashes when the instance was destroyed before the processing occurred.  It also has a side benefit of preventing the same instance from executing multiple times.
- Minor logic bugfix to the pack close warning, the boolean check was flipped.

Also added an early-out on SetTemplateId, since this was causing some unnecessary instance queue entries.
5 years ago
..
Platform Add newlines to the end of all files 5 years ago
Application.cpp PR feedback - now allows for multiple specializations on the command-line, and changed the switch name to "specializations" to reflect that. 5 years ago
Application.h Change SerializeContextTools into a ToolsApplication so that it can correctly read in slice data: 5 years ago
CMakeLists.txt Change SerializeContextTools into a ToolsApplication so that it can correctly read in slice data: 5 years ago
Converter.cpp First version of the slice-to-prefab converter 5 years ago
Converter.h First version of the slice-to-prefab converter 5 years ago
Dumper.cpp First version of the slice-to-prefab converter 5 years ago
Dumper.h Add newlines to the end of all files 5 years ago
SliceConverter.cpp Bugfixes to enable slice-to-prefab conversion to run with less warnings/errors/crashes (#768) 5 years ago
SliceConverter.h First version of the slice-to-prefab converter 5 years ago
Utilities.cpp First version of the slice-to-prefab converter 5 years ago
Utilities.h First version of the slice-to-prefab converter 5 years ago
main.cpp First version of the slice-to-prefab converter 5 years ago
serializecontexttools_files.cmake First version of the slice-to-prefab converter 5 years ago