Verify G Key Does Not Trigger NullReferenceException
Verify G Key Does Not Trigger NullReferenceException
TC-INTRO-006
Description
Validates that pressing the G key during intro sequence does not cause a NullReferenceException or switch to drone view.
Test Objective
Ensure G key functionality is properly disabled during intro sequence to prevent unintended mode switches.
Priority
High
Type
Defect Verification
Author
Dominic Brooks
Est. Time
2 minutes
Preconditions
- Player is in the ship room during intro sequence
- Player is near the door button
Test Data
{
"defectDescription": "NullReferenceException: Object reference not set to an instance of an object"
}
Test Steps
1
Action
Position player near the door in the ship room
Expected Result
Player is in normal first-person view
2
Action
Press the G key
Expected Result
No error occurs, player remains in first-person view
3
Action
Check console/logs for exceptions
Expected Result
No NullReferenceException is logged
4
Action
Verify player view mode
Expected Result
Player remains in first-person view (does NOT switch to drone view)
Postconditions
- No exceptions are thrown
- Player remains in correct view mode
- Game state is not corrupted
Tags
#intro
#defect
#null-reference
#g-key
#drone-view
#high-priority
#critical-path