Unity For 3ds Game Crashes Upon Start

Foxils

New Member
OP
Newbie
Joined
Mar 5, 2023
Messages
1
Trophies
0
Age
24
XP
37
Country
United States
I built an EXTREMELY simple 3d unity scene with unity 3ds shown below which I then built to a cci and converted to cia and installed with gm9.
Upon opening the game it crashes after the "Nintendo 3ds" screen with the game title as the current process.
The cci also crashes in Citra emulator.
The odd thing is that if I try a 2d untiy scene the game loads in both the 3ds and with the citra emulator.
I am genuinely confused here and would like some help from this community :D
1678046840115.png
1678047137638.png
1678047558513.png
2d scene, 1st video is 3d scene and 2nd is 2d scene with Citra.

 

CyrilXD

New Member
Newbie
Joined
Mar 20, 2023
Messages
3
Trophies
0
Age
22
XP
64
Country
United States
If you can figure out why it's crashing, please do tell. I'm currently doing the exact same thing with a 3d scene in Citra, and refuses to install as a .cia on my 3ds
 

FastFocus

New Member
Newbie
Joined
Aug 3, 2021
Messages
2
Trophies
0
Age
18
XP
29
Country
United States
I also had this issue earlier and have found a solution!

I think there was a problem with the default shaders? And I think them being a bit too much for the 3ds to handle.
The solution ended up, at least for me, a sample scene for the 3ds that i found in the editor.
Assets > Import Package > TerrainExample
1680809161310.png

Post automatically merged:

Did anyone find a solution to this problem? I have the same issue
If you can figure out why it's crashing, please do tell. I'm currently doing the exact same thing with a 3d scene in Citra, and refuses to install as a .cia on my 3ds
I also had this issue earlier and have found a solution!

I think there was a problem with the default shaders? And I think them being a bit too much for the 3ds to handle.
The solution ended up, at least for me, a sample scene for the 3ds that i found in the editor.
Assets > Import Package > TerrainExample
1680809161310.png
 
  • Like
Reactions: jeffyTheHomebrewer

T0biasCZe

Well-Known Member
Member
Joined
Oct 4, 2019
Messages
220
Trophies
0
Age
18
XP
942
Country
Czech Republic
If you can figure out why it's crashing, please do tell. I'm currently doing the exact same thing with a 3d scene in Citra, and refuses to install as a .cia on my 3ds
Cias are broken, uncheck the cia option and build it to .cci, and then install the cci through godmode9
 

T0biasCZe

Well-Known Member
Member
Joined
Oct 4, 2019
Messages
220
Trophies
0
Age
18
XP
942
Country
Czech Republic
what shaders are you using on the cube? and what is the resolution of the mario texture? maximum is 1024, above that the 3DS crashes. and also when you overfill the VRAM then it also breaks (so you shouldnt use high texture resolutions like 1024 since they use too much vram)
 

Vasonic

New Member
Newbie
Joined
Mar 29, 2023
Messages
2
Trophies
0
Age
44
XP
35
Country
United States
Hello, make sure you are using the shaders from the list below. The N3DS and 3DS use a Pica200 GPU it is compatible with Open GL ES 1.1 with some very limited functionality for 2.0.

what does that mean?
You have to use shader that where made before the GL 2.0 model which excludes most fragment shaders. AkA Unity's default shaders. Instead use...
  • Mobile/Unlit (Supports Lightmap)
  • Mobile/Particles/Additive
  • Mobile/Particles/Alpha Blended
  • Mobile/Particles/VertexLit Blended
  • Mobile/Particles/Multiply
  • Mobile/VertexLit
  • Legacy Shaders/Transparent/VertexLit
  • Legacy Shaders/Transparent/Cutout/VertexLit
  • Legacy Shaders/Lightmapped/VertexLit
  • Legacy Shaders/VertexLit
The basic rule is they must be shaders written as a fixed function shaders ( old unity 4 - 3 ) shaders / texture combiner shaders.

the List above should be ok for most simple projects..least to get your feet wet.

I should also warn you that its better to test on actual hardware than Citra. I have seen stuff work in Citra that dose not on the hardware. Also I notice that my tests have run much faster on hardware than Citra. A modified N3DS or N2DS with the FTPD software makes testing quick work. That said to get started and see if you want to dig deeper into development citra is a good start.

To answer the Texture question, yes the N3DS can handle up to 1024 that said you really want to be aiming more for a few 512's but more 256 and lower. The N3DS and N2DS only have 6MB of active Vram split between each screen so yeah that 3MB each. Now there is Device and system Memory which also is used for some texture storage but it is slower than the Vram. Now bare in mind when I say 6mb its 6 active mb so as long as your optimization conscious and turning stuff off when its not on screen you can pull it off. Also remember that the device your making a game for has a pair of small screen. Top: 400 x 240 and a Bottom: 320 x 240 you'd be surprised how much 256 gets you. Also make sure to use Nintendo's texture override settings to get Nintendo's texture compression format. it is magic at compressing textures. ETC 4 and 8 bit are the best choices.

hope this helps :)

oh and final note, Nice to see other people messing around with unity for the 3ds other than myself.
 
Last edited by Vasonic,
  • Wow
Reactions: dgm_mixtoon

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: https://m.youtube.com/watch?v=c95QJXRKdIw&pp=ygUdcmFtYm8gMiBtaXNzaW9uIGFjY29tcGxpc2hlZCA%3D