Fix resolve of invalid GC handle in Unity

How to fix the “Resolve of invalid GC handle” error in Unity

If you’re working with Unity 2020, you might have run into an Resolve of invaild GC handle error. Don’t panic! This error is a common one that many Unity developers have faced, and there are several ways to resolve it. In this article, we will explore different ways to fix this error.

Here’s how the error typically looks like:

Resolve of invalid GC handle. The handle is from a previous domain. The resolve operation is skipped.
UnityEngine.GUILayout:Window (int,UnityEngine.Rect,UnityEngine.GUI/WindowFunction,string,UnityEngine.GUIStyle,UnityEngine.GUILayoutOption[])
Continue reading
Creating a Rogue-like (like Vampire Survivors) - Part 8

Creating a Rogue-like Shoot ‘Em Up (like Vampire Survivors) — Part 8: Passive Items and Inventory

This article is a part of the series:
Creating a Rogue-like Shoot 'Em Up (like Vampire Survivors) in Unity

Ever wanted to create a rogue-like shoot 'em up game like Vampire Survivors? In Part 8 of our guide, we will go through how to create passive items, and a way to manage the player's inventory. This will include a way for the player to control and keep track of their existing passive items and weapons. We will also create functionality for our weapons and passive items to level up. You can also find Part 7 of our guide here, where we went through how to create an enemy spawning system, similar to the one seen in Vampire Survivors.

A link to a package containing the project files up to Part 8 of this tutorial series can also be found at the end of this article.

To view this content, you must be a member of Terresqualls Patreon at $5 or more
Already a qualifying Patreon member? Refresh to access this content.
How I dealt with merge conflicts in Plastic SCM on Unity

How I dealt with merge conflicts in Plastic SCM on Unity

When using Unity to develop games, many people may choose to use Plastic SCM to collaborate with their team. However, with multiple people working on the same project, a merge conflict may sometimes occur.

Unity Plastic SCM file merge conflicts, image of files in the repository that conflict with changes made
Conflicting files may cause progress to be lost if handled incorrectly.
Continue reading

Content begins after the advertisement:


Creating a Rogue-like (like Vampire Survivors) - Part 7

Creating a Rogue-like Shoot ‘Em Up (like Vampire Survivors) — Part 7: Enemy Spawning

This article is a part of the series:
Creating a Rogue-like Shoot 'Em Up (like Vampire Survivors) in Unity

Ever wanted to create a rogue-like shoot 'em up game like Vampire Survivors? In Part 7 of our guide, we will go through how to create an enemy spawning system, similar to the one seen in Vampire Survivors. You can also find Part 6 of our guide here, where we went through how to create add-on features for our characters, including selecting a character and spawning their unique weapon.

A link to a package containing the project files up to Part 7 of this tutorial series can also be found at the end of this article.

Update 13 December 2023: Still not quite sure how the Enemy Spawner component works? Check out a summary of the properties in this forum topic.

To view this content, you must be a member of Terresqualls Patreon at $5 or more
Already a qualifying Patreon member? Refresh to access this content.
Creating an Underwater Survival Game in Unity - Part 3

Creating an Underwater Survival Game (like Subnautica) Part 3 — Inventory

This article is a part of the series:
Creating an Underwater Survival Game (like Subnautica) in Unity

Ever wanted to create a game like Subnautica in Unity? Check out Part 3 of our guide here, where we go through how to set up the inventory system for the game.

A link to a package containing the project files of this tutorial series can also be found at the end of this article.

Continue reading
Creating a Rogue-like (like Vampire Survivors) - Part 6

Creating a Rogue-like Shoot ‘Em Up (like Vampire Survivors) — Part 6: Character Add-ons

This article is a part of the series:
Creating a Rogue-like Shoot 'Em Up (like Vampire Survivors) in Unity

Ever wanted to create a rogue-like shoot 'em up game like Vampire Survivors? In Part 6 of our guide, we will go through how to create add-on features for our characters, including selecting a character and spawning their unique weapon. You can also find Part 5 of our guide here, where we went through how to create characters and pick-ups, including a leveling system for our player characters and also a way to damage them.

A link to a package containing the project files up to Part 6 of this tutorial series can also be found at the end of this article.

Update 13 December 2023: A fix has been added to the PlayerCollector script that is covered in this series.

To view this content, you must be a member of Terresqualls Patreon at $5 or more
Already a qualifying Patreon member? Refresh to access this content.
Copypasta HTTP security headers
Image icon by vectorjuice from FreePik

Copypasta HTTP security headers for your Apache website

While I was doing SEO for this blog in the past few couple of days, I’ve come across a set of HTTP security headers I’ve never heard of before. These are a set of HTTP headers that you can deploy on your website(s) to tell browsers how to interact with your site in a variety of situations, and they can help to prevent things like cross-site request forgery or iFrame injection XSS attacks from happening on your site, as well as improve your website(s) SEO score (apparently).

Needless to say, I immediately sought to implement them. If you’re looking for some settings that you can copy and paste right into your own web server, read on further.

Continue reading

Content begins after the advertisement:


Creating a Rogue-like (like Vampire Survivors) - Part 5

Creating a Rogue-like Shoot ‘Em Up (like Vampire Survivors) — Part 5: Characters and Pick-ups

This article is a part of the series:
Creating a Rogue-like Shoot 'Em Up (like Vampire Survivors) in Unity

Ever wanted to create a rogue-like shoot 'em up game like Vampire Survivors? In Part 5 of our guide, we will go through how to create characters and pick-ups. This will include a leveling system for our player characters and also a way to damage them. You can also find Part 4 of our guide here, where we went through how to create stats for our weapons and enemies, including how to damage enemies with weapons.

A link to a package containing the project files up to Part 5 of this tutorial series can also be found at the end of this article.

To view this content, you must be a member of Terresqualls Patreon at $5 or more
Already a qualifying Patreon member? Refresh to access this content.