I have modded a vehicle which has attachments category for items which has cargo slots. These attachment categories can be hidden depending on the state of different doors. However, by doing so it creates NULL pointer errors because of UpdateInterval().
Description
Description
Details
Details
- Severity
- None
- Resolution
- Open
- Reproducibility
- N/A
- Operating System
- Windows 11 x64
- Category
- General
Steps To Reproduce
- Create a vehicle.
- Create a class in GUIInventoryAttachmentsProps in config.cpp.
- Attach an item with a cargo.
- Hide the created class using CanDisplayAttachmentCategory() inherited carscript.
- NULL Pointers will now be in crashlogs.
Related Objects
Related Objects
- Duplicates Merged Here
- T186758: Hide Attachment Category Causes NULL Pointer