|
Post by denvzla on Mar 30, 2021 2:34:46 GMT
Sorry, bad english. Help! Black screen when opening inventory with in-game AI. When placing enemics and when opening inventory the screen goes black and does not respond. Unity 2019.4.17f Unity 2020.3.1f1 Third Person Controller - Shooter Template 2.5.6b FSM AI Template 1.1.5a IA Configuration: Video Con AI Generica:
|
|
|
Post by denvzla on Mar 31, 2021 0:18:26 GMT
Please help, the error does not happen all the time, but it does sometimes happen with humanoid AI too, My PC: Ryzen 5 3400G 16GB Ram ddr4 3200mhz SSD 240GB
I have already tried it with a clean project, it also happens
|
|
|
Post by Invector on Mar 31, 2021 13:55:36 GMT
That's odd, any errors in the console window?
|
|
|
Post by denvzla on Mar 31, 2021 14:43:25 GMT
That's odd, any errors in the console window? none, the error occurs only when the AI has a target enabled in detection, the error does not appear all the time, but when it does, it hangs
|
|
|
Post by denvzla on Mar 31, 2021 14:51:21 GMT
That's odd, any errors in the console window? I even created a little script to disable each AI's V Control IA script when I open inventory and it works, but it is not the best solution.
|
|
|
Post by denvzla on Mar 31, 2021 15:04:35 GMT
That's odd, any errors in the console window? Complete video: I'm using URP, I don't know if it's because of Camera Stacking
|
|
|
Post by Invector on Apr 2, 2021 16:33:05 GMT
Right at the beginning of your video, it shows a black screen that fades out I think this object is enabled again... but I don't see the connection with the AI
|
|
|
Post by denvzla on Apr 3, 2021 18:28:49 GMT
Right at the beginning of your video, it shows a black screen that fades out I think this object is enabled again... but I don't see the connection with the AI No, the black image is not the problem. the problem is that it hangs when I open the inventory, but it only happens when there is IA on the stage
|
|
|
Post by denvzla on Apr 3, 2021 20:30:49 GMT
Right at the beginning of your video, it shows a black screen that fades out I think this object is enabled again... but I don't see the connection with the AI I found a solution to my problem Create a script that disables the FSMBehavior Controller and VControlAI components every time I open inventory and enables it when I close inventory .
|
|
|
Post by Invector on Apr 4, 2021 22:59:55 GMT
That's very odd but if your game pauses when you open the inventory it's probably a good thing to do
|
|