

Using a GPL library will require you to re-license your entire project as GPL, regardless of whether you made a change or not.
LGPL is a bit better, because it allows you to dynamically link the library. But you’re required to provide a copy of source for the library, and any users must be able to swap the built library with their own copy.
Eg; you can use an AGPL-licensed .dll in your closed-source windows program, because users can swap that .dll easily.
You can’t do the same for a ps5 game because users aren’t able to replace any files that the game uses.
I guess I forgot to mention that those platforms usually require you to sign NDA’s that prevent you from releasing any code that references their SDK.
This makes it impossible to license your entire project as GPL/AGPL, as you would be breaking the NDA.