Team Spartan Cookies & Milk Forums
Massive freezes upon spawning a ship - Printable Version

+- Team Spartan Cookies & Milk Forums (https://teamscm.co.uk)
+-- Forum: Feedback (https://teamscm.co.uk/forum-9.html)
+--- Forum: Suggestions and improvements (https://teamscm.co.uk/forum-11.html)
+--- Thread: Massive freezes upon spawning a ship (/thread-3477.html)



Massive freezes upon spawning a ship - The17thDoctor - 17-10-2020

While blackcrow was spawning his ship, we both got massive freezes while the ship was resizing / applying materials.
We both got this error while spawning, I suspect it is related.

CTextureAllocator::GetTextureRect has invalid texture handle! Expect crashes! (x416)



RE: Massive freezes upon spawning a ship - Person8880 - 17-10-2020

Is it just Blackcrow's ship? Does it have any sub-material colours or transforms applied to any of the materials? That console error doesn't really say anything helpful.


RE: Massive freezes upon spawning a ship - The17thDoctor - 17-10-2020

As far as I'm aware, I only noticed it on his ships, perhaps a dupe of the ship would help but then you'd have to ask him.
Since its a recent ship, I supposed it does have submats, resized entities using the new resizer option and material transformations.


RE: Massive freezes upon spawning a ship - Blackcrow - 17-10-2020

Yeah, it might be linked to the new Sub mat option, I used it alot on this ship.
I will try to spawn the ship without any sub mats to see the difference



I also have lots of spamming errors in my console while looking at some constructions, even constructions that doesn't use this option.

   




Edit :
I tested quickly with Doc, the same ship without sub materials = absolutely 0 freeze when spawning.


RE: Massive freezes upon spawning a ship - Person8880 - 18-10-2020

I found the problem using the dupe, should be fixed after the next restart.


RE: Massive freezes upon spawning a ship - The17thDoctor - 18-10-2020

[Image: tenor.gif]


RE: Massive freezes upon spawning a ship - Blackcrow - 18-10-2020

Thanks you

Your update removed most of my scaled materials but that's not a huge problem, I'll just apply them again next time I'll work on it


RE: Massive freezes upon spawning a ship - 57e11a - 08-02-2021

I still get this error spammed in my console, any ideas?


RE: Massive freezes upon spawning a ship - The17thDoctor - 08-02-2021

Probably an internal Garry's Mod module, apparently was causing crashes before but has been fixed, the spam however has not :
https://github.com/Facepunch/garrysmod-issues/issues/4800