Page MenuHomeFeedback Tracker

Hide Attachment Category Causes NULL Pointer
Assigned, NormalPublic

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. Attach an item with a cargo.
  4. Hide the created class using CanDisplayAttachmentCategory() inherited carscript.
  5. NULL Pointers will now be in crashlogs.

Event Timeline

sh4d0wst0rm edited Steps To Reproduce. (Show Details)
Geez changed the task status from New to Assigned.Nov 26 2024, 11:42 AM