Page MenuHomeFeedback Tracker

Hide Attachment Category Causes NULL Pointer
Closed, DuplicatePublic

Description

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().

Details

Severity
None
Resolution
Open
Reproducibility
N/A
Operating System
Windows 11 x64
Category
General
Steps To Reproduce
  1. Create a vehicle.
  2. Create a class in GUIInventoryAttachmentsProps in config.cpp.
  3. Hide the created class using CanDisplayAttachmentCategory() inherited carscript.
  4. NULL Pointers will now be in crashlogs.

Event Timeline

Can someone delete this? I think I posted this on the wrong section.