How-To Use Older Unity Versions (2021, 2022, etc.)
❤️
2
Since some users cannot use Unity 6, here are step-by-step instructions on how to use Mythril2D with previous Unity versions. This guide has been designed & tested for Unity 2022.3.6f2, but should work with most releases before Unity 6.
- Create a new project using Unity 2022.3.6f2 (or the version of your liking)
- Open the Package Manager (Window > Package Manager)
- Change “Packages: In Project” to “My Assets”, and find Mythril2D
- Make sure the latest version of Mythril2D is downloaded, then click “Import”. During the import process a few dialogue messages will be displayed, asking you to update your project’s dependencies. Accept them.
- At some point during the import, Unity will ask to restart (this will happen before Mythril2D actually finish importing), accept it.
- After Unity restarted, you need to go back to the Package Manager and import Mythril2D again.
- At this point, a “Mythril2D” folder should appear under your “Assets” folder.
- A bunch of errors should show up in the console, here is how to fix them:
In Projectile.cs:
- In the
Terminate()method replacem_rigidbody.linearVelocitybym_rigidbody.velocity. - In the
FixedUpdate()method replacem_rigidbody.linearVelocitybym_rigidbody.velocity.
In Movable.cs:
- In the
Pushmethod replacem_rigidbody.linearVelocitybym_rigidbody.velocity.
- Lastly, it’s possible that the in-game dialogue text overflows outside of the dialogue box. To fix that: 9.a. Open “Dialogue” prefab. 9.b. In the hierarchy, under “Content”, find “Text (TMP)”, and select it. 9.c. In the inspector, under the “TextMeshPro - Text (UI)” component, set “Wrapping to “Enabled”

💬 Comments (0)
Be the first to comment! Join our Discord to share your thoughts.
Want to continue the conversation?