aws / lumberyard

Amazon Lumberyard is a free AAA game engine deeply integrated with AWS and Twitch – with full source.
Other
2.03k stars 540 forks source link

Crash fix removing math equal node between 2 crc32 datums makes lumberyard crash #453

Open CDufour909 opened 4 years ago

CDufour909 commented 4 years ago

Crash Fix: Removing Math::Equal node between 2 CRC32 Datums makes Lumberyard crash

Apparently, object->GetAs() can return a null pointer if connected slot is deleted so the code was modified to do a null check before dereferencing the pointer.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

jiaweig-amzn commented 4 years ago

Hi @CDufour909 Thanks for submitting the pull request. We'll work on it.