Find Jobs
Hire Freelancers

Compiling Unity project using 'unsafe' C# code

$10-30 USD

Closed
Posted over 8 years ago

$10-30 USD

Paid on delivery
I'm trying to do an experiment by creating a simple unity windows application that can call functions from a dll. In monodeveloper, I have a C# file that exposes all the dll functions. The problem is that this dll wrapper file uses 'unsafe' code.. so while it builds successfully in MonoDeveloper, it doesn't compile in Unity ("Unsafe code requires the 'unsafe' command line option to be specified") I've never used Unity before so I don't where to set /unsafe checkbox. I tried manually editing the .csproj file to include <AllowUnsafeBlocks>true</AllowUnsafeBlocks> or AllowUnsafeBlocks="true" but that didn't work. The goal then is to set the switch for unsafe code and build in Unity, so that it I can call the dll functions from within Unity c# code. [login to view URL]
Project ID: 8422437

About the project

5 proposals
Remote project
Active 9 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
5 freelancers are bidding on average $23 USD for this job
User Avatar
Should have this done real fast. Within an hour most likely. I have a lot of experience using C# with Unity 3d and mono development. Freelancer doesn't show it because I haven't had a Unity 3D project yet despite my experience but, if you go to my profile you will be able to see that I have handle several other jobs to the clients liking.
$25 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
I am unity game developer from last 3 years. I can fix your code
$30 USD in 3 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Buena Park, United States
0.0
0
Member since Oct 21, 2008

Client Verification

Other jobs from this client

Forum Searcher
$30-250 USD
Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.